PHP Classes

mhtml: Parse and extract files from MIME HTML archives

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 616 All time: 5,103 This week: 126Up
Version License PHP version Categories
mhtml 1.0.0GNU General Publi...3.0HTML, Files and Folders


This class can be used to parse and extract files from MIME HTML archive files saved for instance by Internet Explorer or Sony Ericsson mobile phones.

It can parse a given MIME HTML archive and extract the contained files into a given directory.

Innovation Award
PHP Programming Innovation award nominee
May 2008
Number 7

Prize: One subscription to the PDF edition of the magazine by PHP Architect
MHTML is a MIME based format that is used to bind in a single file a Web page and all associated images, CSS and other types of linked files.

MHTML is used mostly by Internet explorer and other mobile device browsers to save complete Web pages.

This class can parse MHTML files and extract its parts into individual files that can be displayed or processed separately.

Manuel Lemos
Picture of Uku-Kaarel Jo~esaar
Name: Uku-Kaarel Jo~esaar <contact>
Classes: 8 packages by
Country: Estonia Estonia
Age: 41
All time rank: 3811 in Estonia Estonia
Week rank: 307 Up2 in Estonia Estonia Down
Innovation award
Innovation award
Nominee: 5x

  Files folder image Files  
File Role Description
Plain text file mhtml.php Class Main class and caller functions.
Accessible without login Plain text file Data shellscript, please edit for your needs

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:5,103
This week:126Up
User Comments (1)