Read Microsoft Word Documents without COM and without libs

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Read Microsoft Word Documents without COM and without libs

Post by Ambush Commander »

I've searched the forums on information on how to convert .DOC to .HTML, but the two suggestions were:

1. Using COM (which is only available on Windows)
2. Use some extra library

So... I'm wondering. Out in the web there are many scripts (OpenOffice being one of the most prominent ones) that have the ability to read and write MS Word documents independent of Microsoft. What's frustrating is that we don't have any pure PHP implementations of this. Why is this frustrating? Because if you're writing a script for distribution, you want to ensure it works on most systems and has as little dependencies as possible. (sometimes that simply isn't possible, but some libraries like GD are widely deployed and aren't a big problem).

Are there any implementations of a .DOC reader written in PHP?
Post Reply