views:

212

answers:

1

I have PDFs with filled out form fields from a customer, which have to be parsed with PHP5 and written into a MySQL-DB.

With Google I only find libraries, like Zend_Pdf, which are helpful for creating or manipulating PDFs but not for parsing for form fields. Do you know any libraries or classes for this task?

+1  A: 

Check out Pdftk. It allows you to manipulate PDF files in many ways.

rogeriopvl
Thanks for the hint. I figured out, that pdftk has the option "generate_fdf" which delievers a FDF, see http://stackoverflow.com/questions/1376502/get-fields-in-a-pdf-file-using-phpBut somehow I only see the fields inside the FDF
grunwalski
It seems now, that the delivered PDFs are not well-formed. When I try another FDF I get usable results
grunwalski