PHP Classes

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    
Ratings Unique User Downloads Download Rankings
StarStarStar 44%Total: 5,718 All time: 416 This week: 524Down
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 is available for providing paid consulting. Contact Daniel Neville .
Classes: 2 packages by
Country: United Kingdom
Age: 32
All time rank: 41019 in United Kingdom
Week rank: 295 Up13 in United Kingdom Up
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,718
This week:0
All time:416
This week:524Down
User Ratings User Comments (2)
 All time
Utility:56%StarStarStar
Consistency:56%StarStarStar
Documentation:-
Examples:53%StarStarStar
Tests:-
Videos:57%StarStarStar
Overall:44%StarStarStar
Rank:3415
 
Tests I have done dos'nt work .
13 years ago (Richetin)
32%StarStar
Very good idea .
15 years ago (koko)
70%StarStarStarStar