.net - How To Get A Website's Screenshot On A Linux PHP Server? -


i want screenshot of website stored in variable png/jpg file random name. know there's function in windows server there on linux server?

moreover, want screenshot, @ cost. there other , simplest way round screenshot of site.

please note: file .php should compatible.

maybe can like:

<img src='/screenshots/script.asp?url=google.com' /> 

thank you!

it not obvious @ all.

you need install browser engine on server, run specified url, set it's output kind of virtual monitor , capture screenshot it.

read more here. use php, you'll need exec() function (be careful - may present security threat!) , wait until screenshot done.


Comments

Popular posts from this blog

PHPMotion implementation - URL based videos (Hosted on separate location) -

javascript - Using Windows Media Player as video fallback for video tag -

c# - Unity IoC Lifetime per HttpRequest for UserStore -