Jump to content


This topic is now archived and is closed to further replies.


How do I convert .doc to .html with PHP

Recommended Posts

This is not very easy, you cant just convert .doc to .html, as they are encoded differently

The only way I can think of, not sure if it would work
useing fopen(), fread(), fclose() functions
OPen the file
Get all the text to a variable
then create a new file (with the same functions)
and add the text in there.

As I said, I am not sure if this would grab the text, or the encoded rubbish as well.

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.