BrotherLogic Posted August 27, 2006 Share Posted August 27, 2006 I need to know if this is possible.I am looking to convert MS Office files to .html with PHP...Thanks guys. Quote Link to comment Share on other sites More sharing options...
onlyican Posted August 27, 2006 Share Posted August 27, 2006 This is not very easy, you cant just convert .doc to .html, as they are encoded differentlyThe only way I can think of, not sure if it would workuseing fopen(), fread(), fclose() functionsOPen the fileGet all the text to a variablethen 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.