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

- MsWord
- Windows OS

License type: GPL - GNU Public License
Date added: 10 years, 6 months 7 days ago | Last updated: 10 years, 6 months 7 days ago

More popular Document

This is actually one of the most advanced image hosting script. The imagetize key features: SEO, Ads Ready, Admin

Listing Files

Hot Scripts