Re: Create image from HTML

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 11:29 AM -0500 1/9/09, Christoph Boget wrote:
Does anyone know if it's possible, using PHP, to take HTML (either as
an input or from a URL) and generate an image (essentially, create a
screenshot) of that HTML/page?  I've looked around but was unable to
find anything and I'm just not sure if it's that there really is
nothing like this out there or if I'm just looking in the wrong
places.

Any advice/suggestions would be greatly appreciated!

thnx,
Christoph


Christoph:

A screenshot would most definitely be a client-side process. The server (thus php) has no way of knowing how the data that was presented to your browser is being, or has been, viewed.

Your browser simply asked for data and the server delivered it -- end of story.

Now, if you investigate client-side languages, like javascript, the you'll have a better chance of solving your problem.

Hope this helps.

Cheers,

tedd


--
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux