PDF files and 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
User avatar
Mr Tech
Forum Contributor
Posts: 424
Joined: Tue Aug 10, 2004 3:08 am

PDF files and PHP

Post 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)
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Post by Christopher »

You don't need Windows. There are a number of PDF generator libraries in PHP. Search here, PEAR, ZF, phpclasses, etc.
(#10850)
User avatar
themurph
Forum Commoner
Posts: 76
Joined: Wed Apr 19, 2006 1:56 pm
Contact:

Post 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.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

fpdf has loading of existing PDF files.
Post Reply