Last week I read about the functions imagegrabscreen() and imagegrabwindow(). They were added to gdlib and are available in PHP since version 5.2.2. Because I got excited I installed the latest version of WAMP5 on my windows XP laptop (the functions are windows-only) and started typing. The examples on php.net however will not work at first when you use WAMP out-of-the-box, so this is a little how-to document about how to get it working.