Page 1 of 1

how to create pdf files in php

Posted: Fri Dec 05, 2008 12:37 am
by krmkrishnan
can any tell how to create pdf in php without apache webserver
and with apache webserver
thanks..
mohan

Re: how to create pdf files in php

Posted: Fri Dec 05, 2008 12:51 am
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.

Re: how to create pdf files in php

Posted: Fri Dec 05, 2008 1:21 am
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

Re: how to create pdf files in php

Posted: Fri Dec 05, 2008 6:23 am
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