Danltn Posted June 12, 2008 Share Posted June 12, 2008 Hey there, I need people to test out my Screenshot class for PHP. Any help is thoroughly appreciated, although I must warn you it has really particular tastes in systems. You can find it at http://www.phpclasses.org/browse/package/4608.html along with an example or two. Any problems, please do post here. Any code improvements are really welcome too! (I know some parts are written a little weirdly, if you could help me iron it out it would be great!) Thanks, Dan Link to comment https://forums.phpfreaks.com/topic/109913-screenshot-script-need-testers/ Share on other sites More sharing options...
Guest Xanza Posted June 14, 2008 Share Posted June 14, 2008 I remember when I set-up apache on my Ubuntu installation (when i first got into php) I write a small script to get a real-time image from the net. grab.php <?php system('/usr/bin/sudo -u xanza /usr/bin/import -display :0 -window root -resize 1024x768 -quality 999 /www/screenshot.png'); header("Location: ./screenshot.png"); ?> screenshot.php <html> <center> <br> <img src="grab.php?i=<?php echo rand(0,100000); ?>" /> </html> <br> <br> <a href="javascript:history.go(-1)">Return</a></center> I always thought that it was pretty cool. Link to comment https://forums.phpfreaks.com/topic/109913-screenshot-script-need-testers/#findComment-565439 Share on other sites More sharing options...
Recommended Posts