PHP Classes

How can PHP Convert HTML to Word with HTML to DOC Converter: Convert HTML into Microsoft Word documents

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (36)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 64%Total: 19,598 This week: 1All time: 35 This week: 560Down
Version License PHP version Categories
html_to_doc 1.0.0Freeware4HTML, XML, Files and Folders
Description 

Author

This class can be used to convert HTML pages into Microsoft Word documents in the XML format.

It can parse a HTML document given as a HTML data string or a page URL. Then it extracts the HTML document header and body and rewrite it with a Microsoft Word document XML header.

Picture of Harish Chauhan
Name: Harish Chauhan is available for providing paid consulting. Contact Harish Chauhan .
Classes: 28 packages by
Country: India India
Age: ???
All time rank: 32 in India India
Week rank: 109 Down9 in India India Down
Innovation award
Innovation award
Nominee: 1x

Example

<?php
   
include("html_to_doc.inc.php");
   
   
$htmltodoc= new HTML_TO_DOC();
   
   
//$htmltodoc->createDoc("reference1.html","test");
   
$htmltodoc->createDocFromURL("http://yahoo.com","test");
   

?>


  Files folder image Files  
File Role Description
Plain text file html_to_doc.inc.php Class Class
Accessible without login Plain text file html_to_doc_example.php Example example

 Version Control Unique User Downloads Download Rankings  
 0%
Total:19,598
This week:1
All time:35
This week:560Down
User Ratings User Comments (14)
 All time
Utility:93%StarStarStarStarStar
Consistency:91%StarStarStarStarStar
Documentation:-
Examples:89%StarStarStarStarStar
Tests:-
Videos:-
Overall:64%StarStarStarStar
Rank:676
 
The package is not usable with php 8.
5 months ago (georgios spanos)
55%StarStarStar
live saver :)
8 years ago (Mick)
70%StarStarStarStar
Its amazing!
10 years ago (Deadangel)
70%StarStarStarStar
There is some problem with this library.
10 years ago (Praveen)
50%StarStarStar
good tutorials
10 years ago (Rahul Shambharkar)
70%StarStarStarStar
i don't now if it''s possible to do, but in my case the DOC f...
10 years ago (Carlos Santos)
65%StarStarStarStar
Found some bugs that should be fixed, on line 214 (I believe)...
14 years ago (Ryan Naddy)
70%StarStarStarStar
Is very very usefull, I generate reports un HTML, and this pa...
11 years ago (Alfredo Yong)
62%StarStarStarStar
excelent!!!!
11 years ago (raphael souza)
70%StarStarStarStar
This class is not working on linux machine when i m runnig th...
13 years ago (gaurav porwal)
52%StarStarStar
It doesn't handle images.
12 years ago (Bruce Geroux)
70%StarStarStarStar
This is great - does exactly what I needed
14 years ago (mike solomon)
65%StarStarStarStar
Yes, I have found proper solution to get this class Thanks t...
15 years ago (Pran Paul)
55%StarStarStar
i modified this class to set a destination directory where the .
16 years ago (juan romay)
70%StarStarStarStar