Jump to content

Rtf/doc/pdf To Html


ankitgarg

Recommended Posts

hello,

I'm doing a project right now and I'm kinda stuck with this... i am building a page which needs to display text and images from a document in same style(font size and alingment basically) as its in document (like rtf, word or pdf) which user can easily change through available editors .

i am getting filename and path from database (Mysql) but i've searched everywhere and got no idea of any way to read file (so far just text from rtf could be read but image is also just all in text, word and pdf give just mess in string)

 

is there any way to do this using PHP or i have to store whole file data in database itself..

 

or is there anything else i can do to take text and images dynamically to display on required page

Edited by ankitgarg
Link to comment
Share on other sites

There are several applications out there that will convert those documents to HTML - but (any good ones) cost money and will require that you have rights to install the software on the server. I.e. if you are on a shared host you most likely won't be able to get it installed. You would likely needed to have a dedicated server.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.