Hi All,
This is Tamilmani Mohan.
My Issue:- To show the word document content in browser .
How i show the word document in browser by using PHP ?. Please any one help in this problem.
Thanks
Requesting Help
Moderator: General Moderators
Re: Requesting Help
Well, you are definitely need to provide more details of what exactly you are wanting to happen, otherwise you will get someone who is in a smart** mode who will post the following, which technically would feed the file to the browser, although probably not how you meant:
Code: Select all
<?php readfile('my_document.doc'); die(); ?>Re: Requesting Help
HTML doesn't support proprietary formats like Microsoft's Word format, so you really probably need to save those documents to a different format, using Microsoft Word. You can easily save a Word document as HTML, right from the Word File menu (Save as Web Page). It may not give you the quality you would like to have, but it may be the easiest way to do it.