how to create pdf files in php

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
krmkrishnan
Forum Newbie
Posts: 7
Joined: Thu Dec 04, 2008 11:36 pm

how to create pdf files in php

Post by krmkrishnan »

can any tell how to create pdf in php without apache webserver
and with apache webserver
thanks..
mohan
User avatar
it2051229
Forum Contributor
Posts: 312
Joined: Tue Dec 25, 2007 8:34 pm

Re: how to create pdf files in php

Post by it2051229 »

yes you can create pdf using php by either using the PDF class available but needs liscense and stuff OR you can use the FPDF php class. I use the FPDF class, you can search it in google and download the class file and tutorial on how to do use it.
krmkrishnan
Forum Newbie
Posts: 7
Joined: Thu Dec 04, 2008 11:36 pm

Re: how to create pdf files in php

Post by krmkrishnan »

thanks boss i ll try it and let u know .
im using php 5.2.4 without apache ,so when i try to create pdf_new() i don get any output
and how can i enable debugging message ,if i do error_reporting(E_ALL); i don get any error msgs..
pls reply me
mohan
krmkrishnan
Forum Newbie
Posts: 7
Joined: Thu Dec 04, 2008 11:36 pm

Re: how to create pdf files in php

Post by krmkrishnan »

it2051229 wrote:yes you can create pdf using php by either using the PDF class available but needs liscense and stuff OR you can use the FPDF php class. I use the FPDF class, you can search it in google and download the class file and tutorial on how to do use it.

thank for ur help i created pdf file .and one more thing is ,php does not show errors for many mistakes in the code.if i leave any braces ...... like that .then how can i debug...
it shows only plain white page..... wat shud i do???
pls reply
thanks
Post Reply