PHP Classes

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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 (5 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,646 This week: 4All time: 2,263 This week: 315Up
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: 134319 in Pakistan Pakistan
Week rank: 344 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  
 0%Total:1,646All time:2,263
 This week:4This week:315Up
 User Comments (1)  
Very very Bad programming.
5 years ago (Anatoliy)