PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2010-02-01 (6 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,682 This week: 1All time: 2,258 This week: 1,047Up
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.

Picture of ASHFAQAHMED
  Performance   Level  
Name: ASHFAQAHMED <contact>
Classes: 3 packages by
Country: Pakistan Pakistan

Details
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  
 0%
Total:1,682
This week:1
All time:2,258
This week:1,047Up
User Comments (1)
Very very Bad programming.
6 years ago (Anatoliy)
0%Star