Re: Create a screenshot of a website

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

 



resea soul wrote on 2009-10-22 15:28:
Hi,

I want to be able to get a screenshot of a given website on the fly.
Can you give me any suggestions.

Do you mean "I wanna make a screendump of _my_ website"? Then this is for you: http://dk2.php.net/manual/en/function.imagegrabscreen.php - It works with the COM interface on windows and therefore is a windows-only function.

If you mean create a screendump of another website you don't have control over i think that would require som GD coding, not sure if that's possible with PHP only, most likely I would say no.

If you mean you wanna rip a website and use it in your own then there's two functions to check:
readfile() which reads the whole site and outputs this again.
fopen() where you can read an URL line by line and easy do some alterations to the line if you like.

I hope this will help you on the way.

--
Kind regards
Kim Emax - masterminds.dk

--
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