word to pdf

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
aufkes
Forum Newbie
Posts: 3
Joined: Mon Aug 02, 2004 3:19 pm

word to pdf

Post by aufkes »

Hope you can help me.

I have to show on the screen some data to the users. When the user click on a button, the system has to search in a data base for a WORD document (*.doc), convert it to PDF format and finally show it to the user on the screen. Of course there is no user interaction on this, but only the click on the button. Somebody could give me a clue to do this if posible?. I have to do this on linux, and is a new OS for me, so I'll appreciate any help you can give me.

Thanks in advance
User avatar
fresh
Forum Contributor
Posts: 259
Joined: Mon Jun 14, 2004 10:39 am
Location: Amerika

Post by fresh »

sounds like alot of code..

how bout finding the word doc in the db, and then opening the associated PDF (already rendered as) and open it that way, from a folder, not the DB...

sounds alot easier and faster to me ;)

EDIT: Better yet, snuff the DB word doc concept and just link to a PDF.. :)
kettle_drum
DevNet Resident
Posts: 1150
Joined: Sun Jul 20, 2003 9:25 pm
Location: West Yorkshire, England

Post by kettle_drum »

Or have a text based version in the database so you can have powerful seacrhing of the documents and then use something like fpdf to convert the text to pdf when the user requessts it.

http://www.fpdf.org/
aufkes
Forum Newbie
Posts: 3
Joined: Mon Aug 02, 2004 3:19 pm

Post by aufkes »

I have found this:

http://www.goermezer.de/

I'm going to test it and after that I'll tell you If I get the result I want.

Thanks.
Post Reply