How can I view a Word document in a PHP page?
Well if you view the source of a Word document in notepad then you'll find that this is rather difficult :)
However there are programs out there to convert Word documents to text, you'll need to install the .exe on your server of one, then load the content into a variable accessible in your PHP script.
Alternatively you could try using the COM controls.
Comments on this Question/AnswerWhat is the difference move_uploaded_file, copy and ftpput for file uploading?
By: vishwas, 15 Jan 2009 22:18:43
Reply to comments / post your own comment >>>
ASK A QUESTION
More files PHP QuestionsWhere is a text file i created kept?
What is the use of file in php?
What does file_get_contents do?
How do I open a file to write content to?
How can i upload large files like mp3 songs using php?