well, i never try it for my self but somebody out there already develop a simple
library to convert any HTML to image.. google for html2png give me

http://marginalhacks.com/Hacks/html2jpg/

i believe there is more interesting solutions out there. tell me if
you found one.
good luck..

On 6/14/08, Manuel Lemos <[EMAIL PROTECTED]> wrote:
> 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
>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to