How can we get the screenshot the live web page using php.
The basic idea is to make it like this:
1) Install a browser in the server.
2) Using commands run the browser, open up the URL, use Perl script to take screenshots.
I don't know the exact codes but to save time you could just this the following services:
Basically use them to generate the thumbnail and do get_file_contents() to get the thumbnail .
Here's something you can use in your own server:
Visit my blog
PHP && Life
for technology articles and musings.
Most linux servers don't have a display manager installed and won't be able to do this.
Turnware MVC - A new barebone, fast and flexible PHP5 framework!
Turnware MVC Lead Developer
is there something like this
i don't know what is wrong with this i tried it but there is some problem in generating the image.
http://images.websnapr.com/?url=yourdomain.com&size=l seems to be working fine. I just changed the size to l (large).
When you visit the URL it doesn't generate the thumbnail right away, but second time it does.
I use w3snapshot.com for this.