Page 1 of 1

PDF files and PHP

Posted: Sun Dec 03, 2006 7:19 pm
by Mr Tech
First of all, do you need Windows to generate PDF files using PHP?

If not, do you have to generate PDF documents from scratch or can you open a PDF file using PHP and replace certain text with the correct text. (such as addresses, names etc)

Posted: Sun Dec 03, 2006 7:44 pm
by Christopher
You don't need Windows. There are a number of PDF generator libraries in PHP. Search here, PEAR, ZF, phpclasses, etc.

Posted: Sun Dec 03, 2006 7:51 pm
by themurph
You will probably not find any php based library (or otherwise) that will allow you to "edit" exisitng PDF files.

I've had good success using EzPDF found here: http://www.ros.co.nz/pdf/

I don't think the author is supporting it very much these days, but it is still a very nice, free, and easy-to-use library.

Posted: Sun Dec 03, 2006 10:00 pm
by feyd
fpdf has loading of existing PDF files.