[thelist] Reading a PDF file with PHP?

Brooking, John John.Brooking at sappi.com
Sat Sep 16 19:36:16 CDT 2006

I've Googled and also looked at php.net several times, and have not found any good answers to the questions "Can I read a PDF file with PHP?" and "Why can't I find any examples of reading a PDF?" I've found lots of people asking these questions, but no exact answers. All the libraries and products I've looked at talk about creating documents, but nothing about opening existing ones and parsing them.

I can understand that it might not be simple to understand a document semantically this way, but if you know sort of what you are expecting, isn't it at least technically possible to open it and find what you are looking for? If anyone has done this, especially with PHP, any pointers would be much appreciated. Thank you!

- John

This message may contain information which is private, privileged or confidential and is intended solely for the use of the individual or entity named in the message. If you are not the intended recipient of this message, please notify the sender thereof and destroy / delete the message. Neither the sender nor Sappi Limited (including its subsidiaries and associated companies) shall incur any liability resulting directly or indirectly from accessing any of the attached files which may contain a virus or the like.

More information about the thelist mailing list