PHP Classes

MS Word And Excel: Serve Word and Excel files as HTML

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,709 All time: 2,289 This week: 263Up
Version License PHP version Categories
ms-word-and-excel 1.0Artistic License4.0Files and Folders
Description Author

This class can be used to serve Word and Excel files as HTML.

It can generate HTML output with content type headers that identify it as Microsoft Word or Excel files.

  Performance   Level  
Name: ASHFAQAHMED <contact>
Classes: 3 packages by
Country: Pakistan Pakistan
Age: ???
All time rank: 139619 in Pakistan Pakistan
Week rank: 485 Up9 in Pakistan Pakistan Up

This Is a Simple Class To Create Ms Word And Excel Document

Here is Example Of Creating Doc

$doc = new MsCreator();

$doc->File = "Ashfaq"; /////////// New File Name 

$doc->Type = "";       ///////// Type Excel or Leave Blank For Doc 

$doc->Text = "";        /////// Enter Content Here Html Content /

$doc->Preview();      /////////// For Preview In Page

$doc->Download();    /////////// For Download File/////

  Files folder image Files  
File Role Description
Accessible without login Plain text file index.php Example Main Eample File
Plain text file MsWord.Class.php Class Ms Word And Excel Class
Accessible without login Plain text file Readme.txt Doc. Readme

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:2,289
This week:263Up
User Comments (1)
Very very Bad programming.
12 years ago (Anatoliy)
For more information send a message to info at phpclasses dot org.