How to view a word file as html?

Reply

Join Date: Feb 2008
Posts: 5
Reputation: rajeshswain is an unknown quantity at this point 
Solved Threads: 0
rajeshswain rajeshswain is offline Offline
Newbie Poster

How to view a word file as html?

 
0
  #1
Aug 18th, 2009
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.
Reply With Quote Quick reply to this message  
Join Date: Apr 2009
Posts: 119
Reputation: JugglerDrummer is an unknown quantity at this point 
Solved Threads: 15
JugglerDrummer's Avatar
JugglerDrummer JugglerDrummer is offline Offline
Junior Poster

Re: How to view a word file as html?

 
0
  #2
Aug 18th, 2009
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
Reply With Quote Quick reply to this message  
Join Date: Sep 2008
Posts: 214
Reputation: chrishea is an unknown quantity at this point 
Solved Threads: 32
chrishea's Avatar
chrishea chrishea is offline Offline
Posting Whiz in Training

Re: How to view a word file as html?

 
0
  #3
Aug 19th, 2009
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
Last edited by chrishea; Aug 19th, 2009 at 1:14 am.
Chris
See my list of PHP development tools at:
InnovationsDesign.net
Reply With Quote Quick reply to this message  
Join Date: Apr 2009
Posts: 257
Reputation: BzzBee is an unknown quantity at this point 
Solved Threads: 37
BzzBee BzzBee is offline Offline
Posting Whiz in Training

Re: How to view a word file as html?

 
0
  #4
Aug 19th, 2009
yes, its hard to convert document file into HTML. If you want any use to see his/her resume then you should provide him a link so he/she will download his/her resume and will see that.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC