clanstyles Posted March 11, 2008 Share Posted March 11, 2008 How would you go about taking screenshots of other sites with PHP? Link to comment https://forums.phpfreaks.com/topic/95564-how-do-you/ Share on other sites More sharing options...
l0ve2hat3 Posted March 11, 2008 Share Posted March 11, 2008 this will store all html. but idk about actual screen shots <? $url = "http://www.phpfreaks.com"; $str = file_get_contents($url); ?> Link to comment https://forums.phpfreaks.com/topic/95564-how-do-you/#findComment-489242 Share on other sites More sharing options...
clanstyles Posted March 11, 2008 Author Share Posted March 11, 2008 yeah.. so how would I take a screen shot of it? like Alexa.com does for all its sites. Link to comment https://forums.phpfreaks.com/topic/95564-how-do-you/#findComment-489621 Share on other sites More sharing options...
discomatt Posted March 11, 2008 Share Posted March 11, 2008 http://www.zubrag.com/articles/create-website-snapshot-thumbnail.php Link to comment https://forums.phpfreaks.com/topic/95564-how-do-you/#findComment-489627 Share on other sites More sharing options...
redarrow Posted March 11, 2008 Share Posted March 11, 2008 You download a free snap shop shell program then use the exec() php function to take the snap shots very simple ..... Link to comment https://forums.phpfreaks.com/topic/95564-how-do-you/#findComment-489635 Share on other sites More sharing options...
clanstyles Posted March 11, 2008 Author Share Posted March 11, 2008 hey, I don't really want to depend on a shh program. php dcripys plz. Link to comment https://forums.phpfreaks.com/topic/95564-how-do-you/#findComment-489656 Share on other sites More sharing options...
discomatt Posted March 11, 2008 Share Posted March 11, 2008 Php whats? You won't be able to do with with PHP alone. Sorry. It's possible, but you pretty much have to grab the source and every image on the site, parse locations of elements and use gd to compile them onto an image and then downsize to a thumbanil. Don't ask me how to do this because it is both complicated and tedious. You're pretty much going to be making a browser in PHP. The only logical solution is to run an application, or have a 3rd party run that app for you Link to comment https://forums.phpfreaks.com/topic/95564-how-do-you/#findComment-489670 Share on other sites More sharing options...
clanstyles Posted March 11, 2008 Author Share Posted March 11, 2008 well I do c++ so using vmware, I could just create a small linux app to do this.. great...I thought you could. Link to comment https://forums.phpfreaks.com/topic/95564-how-do-you/#findComment-489682 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.