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 QuestionsI am trying to find the most recent directory that I am working in. example http://www.mysite.com/apples/index.php how do I get php to find the directory "apples" so I can make it a directory
Hello, I have a php file that has octet binary numbers in it. How can I see the actual wording? This is an example of how it look: 00111010 11010010 And so on.
What does file_get_contents do?
Where is a text file i created kept?
how to upload large files like mp3 songs in php