NYCPHP Meetup

NYPHP.org

[nycphp-talk] Editing a PDF

tedd tedd at sperling.com
Thu Jan 3 12:09:28 EST 2008


At 11:54 AM -0400 1/3/08, Jeff Loiselle wrote:
>Hello,
>
>Can anyone recommend a package they've used (written in PHP, no 
>extensions) to open a PDF, add a simple text header line, and save 
>it?
>
>Regards,
>jeff

Arrggg, that's going to be difficult. The innards of pdf files are not trivial.

You can use things like: http://www.fpdf.org/ to write your own, like this:

http://webbytedd.com/bb/pdf/

But to take an existing PDF file and open it up and change something 
is much more complicated than you might think, or so I've found.

If anyone disagrees, please provide me with an example to review.

Sorry,

tedd
-- 
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com



More information about the talk mailing list