News Feed
Jobs Feed
Sections




News Archive
Richard Davey's Blog:
Two interesting new PHP commands
July 16, 2007 @ 09:34:37

Richard Davey points out two new interesting PHP commands he discovered when looking through the graphics (GD) section of the manual - imagegrabscreen and imagegrabwindow.

Upon further investigation both of these commands can be used to take screen shots of the desktop of your server, or any applications window (such as a web browser). Both commands are listed as being "Windows only" and also possibly only in CVS, but I found both of them are in the 5.2.3 standard release and compile without error. However at the moment neither appear to actually do anything other than return fully black images

In testing the functionality, though, his only results were black screens and images instead of the expected image results.

0 comments voice your opinion now!
interesting command graphic imagegrabscreen imagegrabwindow interesting command graphic imagegrabscreen imagegrabwindow


blog comments powered by Disqus

Similar Posts

J. Scott Johnson\'s Blog: Your PHP Command of the Day - debug_backtrace()

Josh Adell's Blog: Command Invoker Pattern with the Open/Closed Principle

Richard Davey's Blog: Two interesting new PHP commands

PhPL33t Blog: How to Automated Plesk Email Creation

SitePoint PHP Blog: CouchDb: document oriented persistence


Community Events











Don't see your event here?
Let us know!


interview introduction release usergroup conference symfony2 language unittest zendframework2 podcast community functional phpunit opinion development database rest series framework testing

All content copyright, 2013 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework