andz Posted June 27, 2009 Share Posted June 27, 2009 Hi everyone. To get to the point, is there any script or any way to create a php script that will capture a screenshot of certain website based on url parameters? http://source.com/test.php?target=http://victim.com/ then it will output that into screenshot. Link to comment https://forums.phpfreaks.com/topic/163895-screenshot/ Share on other sites More sharing options...
corbin Posted June 27, 2009 Share Posted June 27, 2009 Under Windows it's possible. Not under Linux or Mac though. (Well, not with just PHP.) There's actually an example how to do it on: imagegrabwindow Link to comment https://forums.phpfreaks.com/topic/163895-screenshot/#findComment-864713 Share on other sites More sharing options...
HPWebSolutions Posted June 27, 2009 Share Posted June 27, 2009 A quick google for "php render website html" turned up this nifty little piece of PHP goodness: http://www.tufat.com/s_html2ps_html2pdf.htm. It seems that it renders a website and returns it in pdf or ps format. Alternatively, you could write a script (probably not in PHP) that listens on a certain port for requests, and when one comes in it loads the website, performs a screen shot, and returns it as an image, somewhat like browsershots.org does. Link to comment https://forums.phpfreaks.com/topic/163895-screenshot/#findComment-864738 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.