Pierre shows you how to get a screen-shot of a site using PHP and GD2 on Windows. The examples he’s presented shows you how to get a screen shot of IE, and goes on to show how to get a site loaded into IE and capture the screen only after the page loads completely on the browser.
This method can be used to capture any kind of window.
Link: Screen capture with PHP and GD – The Pimp

Ken on April 22, 2007
Have you come across any method that works on a Unix server? There seem to be some ways to hook up with Mozilla code to generate a screenshot.
vinu on April 22, 2007
Nope. haven’t figured out how to get this done on a linux or unix box yet!
vinu on April 22, 2007
Nope, I haven’t seen any method which work on unix yet. Do let me know if you find it
Arun Vijayan on May 11, 2007
Just like creating a COM IE object in Windows, can we create a mozilla instance and navigate to the website? But the possibility relies on imagegrabwindow($handle, 0) will work on linux or not, I guess?
fantastica on February 3, 2008
Thats a really nice thing, but it would be blending, if it would be available under linux
http://www.opsdesign.at