[PHP] Re: Capture homepage screenshot
- Date: Sat, 14 Jun 2008 00:30:44 -0300
- From: Manuel Lemos <mlemos@xxxxxxx>
- Subject: [PHP] Re: Capture homepage screenshot
Hello,
on 06/13/2008 02:46 PM Shiplu said the following:
> Hello,
> How can i capture homepage screenshot of a webpage by php?
>
> I know a way.
> I'll run a executable written in C/C++. when It will be called to process a
> screen shot It will just load the webpage in firefox and capture the image.
> It'll send the image path to php. The executable will be running.
> The problem with this solution is, I have to run X, Firefox in my web
> server, which doesn't look efficient for a server.
>
> I wanna know, is there any other way to achieve this? without creating a
> screen shot server.
If you run PHP on Windows, you can use this PHP class that was just
released and does exactly what you need. I think it could be adapted to
work with Firefox too.
http://www.phpclasses.org/win-screenshot
--
Regards,
Manuel Lemos
PHP professionals looking for PHP jobs
http://www.phpclasses.org/professionals/
PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php