PHP Classes
elePHPant
Icontem

Screenshot: Take screenshots of pages with Internet Explorer

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (6)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2008-06-13 (8 years ago) RSS 2.0 feedStarStarStar 45%Total: 5,631 This week: 1All time: 406 This week: 1,047Down
Version License PHP version Categories
win-screenshot 0.1GNU General Publi...5.2.2PHP 5, Graphics, Windows
Description Author

This class can be used to take screenshots of Web site pages using Internet Explorer.

It can command an instance of the Internet Explorer running on the same Windows machine to make it open a given Web page.

Several aspects of Internet Explorer can be controlled like whether its window will be visible and resizable, show the status, address bars and tool bars, and make the browser occupy the full screen.

The class can grab an image the whole desktop screen or just the Internet Explorer window.

The grabbed image can be saved to a given file in the PNG format (or GIF/JPEG if required).

Innovation Award
PHP Programming Innovation award winner
June 2008
Winner


Prize: One copy of the Zend Studio
Some Web applications publish content that references other sites. In that case it is often useful to show a screenshot of such site pages.

This class provides a solution that can take a screenshot of any remote Web site page.

It starts an instance of the Internet Explorer browser and controls it in such way that it displays the page of the desired site. Then it uses a special PHP GD extension function to capture the image of the site page.

Despite it only works with PHP running on Windows, this is a very useful solution that addresses a frequently requested need of many PHP sites.

Manuel Lemos
Picture of Daniel Neville
Name: Daniel Neville <contact>
Classes: 2 packages by
Country: United Kingdom United Kingdom
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

Screenshots  
  • screens/exampleoutput1.png
  • screens/code.png
Videos  
  Files folder image Files  
File Role Description
Files folder imageexamples (2 files)
Plain text file screenshot.class.php Class This holds the actual PHP class
Plain text file manipulation.class.php Class Use this class if you want to have the manipulation features too.

  Files folder image Files  /  examples  
File Role Description
  Plain text file 1.php Example Example usage
  Plain text file 2.php Example Another example

 Version Control Unique User Downloads Download Rankings  
 0%
Total:5,631
This week:1
All time:406
This week:1,047Down
User Ratings User Comments (2)
 All time
Utility:57%StarStarStar
Consistency:57%StarStarStar
Documentation:-
Examples:53%StarStarStar
Tests:-
Videos:58%StarStarStar
Overall:45%StarStarStar
Rank:2406
 
Tests I have done dos'nt work .
5 years ago (Richetin)
32%StarStar
Very good idea .
8 years ago (koko)
70%StarStarStarStar