PHP Classes

PHP Save Complete HTML Page: Save HTML pages complete with images, CSS and JS

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 58%Total: 2,599 All time: 1,469 This week: 43Up
Version License PHP version Categories
save-complete-html 1.00Freeware5.2HTML, PHP 5
Description 

Author

This class can save HTML pages complete with images, CSS and JavaScript.

It takes the URL of a given page and retrieves it to store in a given file.

The class can parse the HTML and determine which images, CSS and JavaScript files it needs, so those files are also downloaded and saved inside the HTML page saved to a local file.

Optionally it can skip the JavaScript code, keep only the page content, and compress the resulting page removing the whitespace.

Picture of Sarfraz Ahmed
Name: Sarfraz Ahmed <contact>
Classes: 3 packages by
Country: Pakistan Pakistan

Screenshots (1)  
  • screenshot
  Files folder image Files (7)  
File Role Description
Files folder imageincludes (3 files)
Accessible without login Plain text file index.php Aux. index.php
Accessible without login HTML file output.html Example output.html
Accessible without login Plain text file saveCompletePage.php Example saveCompletePage.php

  Files folder image Files (7)  /  includes  
File Role Description
  Plain text file content_extractor.php Class content_extractor.php
  Plain text file htmlSaveComplete.php Class htmlSaveComplete.php
  Accessible without login Plain text file url_to_absolute.php Aux. url_to_absolute.php

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:2,599
This week:0
All time:1,469
This week:43Up
User Ratings User Comments (2)
 All time
Utility:85%StarStarStarStarStar
Consistency:82%StarStarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:58%StarStarStar
Rank:1420
 
Excellent, did exactly what I needed.
6 years ago (Jason James)
70%StarStarStarStar
very nice, thanks
11 years ago (Ozan Aksakboga)
70%StarStarStarStar