PHP Classes

HTML Document: Buffer the HTML contents of a page before serving

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 59%Total: 327 All time: 7,138 This week: 194Up
Version License PHP version Categories
htmldoc 0.1GNU General Publi...4.3HTML
Description Author

This class can be used to buffer the contents of an HTML page before serving to the browser.

It starts capturing the output of the current script until it exits.

In the end it outputs captured page content in the middle of a page header and footer generated by the class.

The class provides convenience functions to define the HTML that goes in the page header like: Javascript, CSS, RSS feed URLs and other meta tags.

Picture of Karol Krizka
Name: Karol Krizka <contact>
Classes: 2 packages by
Country: Canada Canada
Age: ???
All time rank: 233253 in Canada Canada
Week rank: 563 Up17 in Canada Canada Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file Example Example This is the example file.
Plain text file HTMLDoc.class.php Class The core of the class.
Accessible without login Plain text file page1.php Example This comes with the example file to demonstrate embeding.

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:7,138
This week:194Up
 User Ratings  
 All time