I don't think that you want to try turning it into html. If you provide a link to a Word document it will pop up a panel to save it when you click on it. Under Internet Explorer it will open the file but that doesn't seem to be consistent in other browsers. Either way, you can save it and that addresses part of your need. Not sure how to force it to open the file in other browsers.
If you are bound and determined to go the other way, this utility goes part way by extracting text but you need to compile it and then call it from PHP using a Shell. You also lose most of the formatting. Too complicated and incomplete for my liking.
catdoc Last edited by chrishea; Aug 19th, 2009 at 1:14 am.
Reputation Points: 210
Solved Threads: 228
Nearly a Posting Virtuoso
Offline 1,389 posts
since Sep 2008