Click here for Toll-Free Service for your business starting at $2.00 per month

Main Menu

PDF generation

Started by grapesmoker, April 27, 2006, 03:58:05 PM

Previous topic - Next topic


I'm interested in dynamically generating some PDF files from information stored in a database. The naive way to do it is to use exec(), which is obviously not allowed. Is there another way to accomplish this? Thanks in advance to anyone who can suggest a workaround.


There is a free PHP class through which PDF files can be generated on the fly through PHP :
It isn't too hard to use, and the tutorials are quite clear.

Example of use : (from their first tutorial)


$pdf=new FPDF();
$pdf->Cell(40,10,'Hello World!');