| | |
How to view a word file as html?
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Feb 2008
Posts: 5
Reputation:
Solved Threads: 0
I have a registration page where a user will upload his/her resume. On clicking "register" button the form will sent all the data to admin. It also sends a link called "download" containing the path of the word file that the user has uploaded .On clicking download the admin is able to download the resume.
I also want to send another link saying "View as HTML" as google mail, so that the admin views the word file as html document rather than downloading it.
Anyone please suggest how will I convert the word file to html page.
I also want to send another link saying "View as HTML" as google mail, so that the admin views the word file as html document rather than downloading it.
Anyone please suggest how will I convert the word file to html page.
getting the text from a word document is something that only microsoft word can do. You're going to need to employ some special program or way to get the text out, as you need something that understands word files
92% of all statistics are made up on the spot.
If you found a post helpful, please click the "give XXX reputation" link, to show your appreciation to those who helped you. Thanks! :D
If you found a post helpful, please click the "give XXX reputation" link, to show your appreciation to those who helped you. Thanks! :D
I don't think that you want to try turning it into html. If you provide a link to a Word document it will pop up a panel to save it when you click on it. Under Internet Explorer it will open the file but that doesn't seem to be consistent in other browsers. Either way, you can save it and that addresses part of your need. Not sure how to force it to open the file in other browsers.
If you are bound and determined to go the other way, this utility goes part way by extracting text but you need to compile it and then call it from PHP using a Shell. You also lose most of the formatting. Too complicated and incomplete for my liking. catdoc
If you are bound and determined to go the other way, this utility goes part way by extracting text but you need to compile it and then call it from PHP using a Shell. You also lose most of the formatting. Too complicated and incomplete for my liking. catdoc
Last edited by chrishea; Aug 19th, 2009 at 1:14 am.
![]() |
Similar Threads
- Error opening word file from Asp.net (ASP.NET)
- convert txt file to html (PHP)
- Convert MS Word to HTML via File Upload (PHP)
- i want to read a particular file and searching for a particular word in that file (Pascal and Delphi)
- view word/excel (PHP)
- word to html (PHP)
- Including header file using HTML (HTML and CSS)
- How to COmpare a word file and an XML file (C#)
- Reading pascal file and searching for a particular word in that file (Pascal and Delphi)
- how to upload a ms word file and store it in sql table (ASP.NET)
Other Threads in the PHP Forum
- Previous Thread: How to Authorize and then Capture
- Next Thread: Simple PHP Regex Question!
| Thread Tools | Search this Thread |
apache api array beginner binary body broken buttons cakephp checkbox class cms code cron curl database date date/time display dynamic ebooks echo email error file files folder form forms function functions global google href htaccess html image include insert ip javascript joomla limit link list login mail mediawiki menu mlm msqli_multi_query multiple mycodeisbad mysql number oop parameter paypal pdf php phpincludeissue problem query radio random recourse recursion regex remote script search seo server sessions sms source sp space speed sql static subdomain syntax system table tag tutorial update upload url validator variable vbulletin video web webdesign white wordpress xml youtube





