Page 1 of 1

Take a screenshot of a webpage using PHP

Posted: Fri Oct 15, 2010 9:03 am
by Miteshsach86
Hi Guys,

Yet again, I was wondering if one of you genious's could help me. I want to be able to take a screenshot of an entire webpage (From the header to footer) using a PHP script. So If I crawled the webpage

URL = http://www.google.co.uk/search?q=php+sc ... =en&num=10

I would like to take a screenshot of that entire page from the GOOGLE header to the GOOGLE footer and store it into a TEMPORARY folder on my server and then be able to call it back.

Is this possible? I've been searching everywhere for a solution to this but the closest thing I came to was http://mistonline.in/wp/get-youtube-vid ... avascript/

I would be really grateful if one of you could please help me, thank you in advance.

M

Re: Take a screenshot of a webpage using PHP

Posted: Fri Oct 15, 2010 11:31 am
by jason
You'll probably want to look into using Selenium-RC.