PHP/HTML convertion to word doc or 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
rmfpereira
Forum Newbie
Posts: 2
Joined: Tue May 03, 2005 10:16 am

PHP/HTML convertion to word doc or pdf

Post by rmfpereira »

Hi,

I need help to convert php and html pages to word doc's or to pdf.

I already have found some things, but some doesn't work and others has to be paid (I can not arrange a crack for this).

Please someone help me with code samples, or something that is already working...please..

Thanks a lot.

Rui
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Post by Ambush Commander »

Hi, what you're asking for is, for all practical matters, impossible, and furthermore, unnecessary (well, at least for Word documents. I don't know about PDF)

If you needed to read Word files, I could help you... but there is no magic bullet. Both formats are proprietary, and you can only plug into existing architectures whose developers guessed the specs of the documents.
rmfpereira
Forum Newbie
Posts: 2
Joined: Tue May 03, 2005 10:16 am

Post by rmfpereira »

Good Morning,

Thanks...so...please help me with the transaction to Word document...I will appreciate.

I will wait for your reply.

Thanks a lot...

Rui
User avatar
phpScott
DevNet Resident
Posts: 1206
Joined: Wed Oct 09, 2002 6:51 pm
Location: Keele, U.K.

Post by phpScott »

i used this wonderfull class to create pdf files, mostly images but some text.
PHP has some basic built in ability to create pdf and this guy with help built some classes to make our life easier.

http://sourceforge.net/projects/pdf-php

and its free!!! :D
Post Reply