Document Files to HTML via PHP
Posted: Fri May 18, 2007 8:52 am
I'm in the process of creating a website where you can upload .doc files and also download them. The trivial part for me, is how would I go about giving the user a preview before downloading the file? Would it be possible to convert the .doc file via PHP to a readable format? I tried opening a .doc file in notepad just to see what I get... a lot of garble.
I did a quick search for a PHP Class that would do so... no luck, but I found a class that can edit a .xls file... so I guess there is hope. Even if I have to make it myself.
Any input is greatly appreciated.
//anthony
I did a quick search for a PHP Class that would do so... no luck, but I found a class that can edit a .xls file... so I guess there is hope. Even if I have to make it myself.
Any input is greatly appreciated.
//anthony