wordDocumentHandler 1.0
wordDocumentHandler can be used to convert a Microsoft Word document to HTML, RTF or plain text using COM objects. The input document formats can be Microsoft Word DOC, RTF and plain text.
wordDocumentHandler can also clean the generated HTML to remove unnecessary markup that Microsoft Word adds. Of course, you need MsWord installed on the server, and Windows OS.
It doesn't works ? Look below =>
- your server must be running Win32
- Microsoft Word must be installed on the server (I tested with Word2000)
- readfile() is not available under PHP 4.3. You can use the following code to replace it with PHP<4.3
if (str_replace(".", "", phpversion())<"430")
{
function readFile( $f ) {
$out = ""; $lines = file ($f); foreach( $lines as $l ) $out .= $l." "; return $out;
}
}
- try to not open a file on the netword (ie serverdoc...) unless you fully understand the authentification process
Requirements:
- MsWord
- Windows OS
More popular Document
- XLS Export (2 years, 5 months 8 days ago)
- TCPDF 6.0.016 (6 days ago)
- MS Word And Excel 1.0 (3 years, 3 months 22 days ago)
- PDF documents generates 0.5 (2 years, 9 months 25 days ago)
- MS-Excel Stream Handler 1.0 (4 years, 8 months 4 days ago)
Listing Files

wordDocumentHandler.php- 12.9 KB
- 10/04/2005 02:11:18

wordDocumentHandler_test_code.php- 1.3 KB
- 10/04/2005 02:11:18
- FREE MySQL Cloud Database Super Simple, Zero-Management MySQL Cloud DB. Use It FREE!
- Pinterest clone Start your own pin board social network today. Get Pintastic and start your own pinterest clone network.
- MYRE Real Estate Software Professional Real Estate solutions by MYREPHP PROGRAMMING!
