Hi, I need to create PDF files on the fly using php only. I know of FPDF and TCPDF. Both work well. However, I would like be able to import PDF pages from another pdf file into the files I create. It seems like FPDI would be the solution. However, FPDI does not support pdf files that are of a higher version than 1.4. It actually does support them, but requires a license fee. I need a free solution. Can anyone suggest one?
Another forum I participate in has a thread similar to this one with some solutions, maybe there's an answer there. What the guy ended up doing is using a shell_exec command to make the PDFs using Ghostscript.
you can use dompdf to create pdf file using php. for more info please check http://code.google.com/p/dompdf/
I'm surprised nobody has mentioned PDFlib, PHP's default PDF generation functions: http://php.net/manual/en/book.pdf.php