Solved

Read Acrobat 7 PDF form data with PHP

Posted on 2008-10-16
3
687 Views
Last Modified: 2012-05-05
Software; Acrobat 7 Pro - Server WindowsXP SP2, Apache 2, PHP 5.2
Question;
Our office staff have made a number of PDF forms for our customers to fill out.
What we now want to do is have PHP read the form data without having to re key the data.
In another part of the system we use TCPDF for PDF output ( but the forms are created by hand with Acrobat Pro 7 )

0
Comment
Question by:Matthew_Way
  • 2
3 Comments
 
LVL 1

Expert Comment

by:socross
ID: 22737782
Have you already collated the data using Acrobat? If the forms were made in Acrobat there is a function within acrobat to collate the data into a dataset (essentially a database of results linked to a master .pdf from). This can all be done through the "Forms" tab.

You can then export it to CSV, XML etc.

0
 

Author Comment

by:Matthew_Way
ID: 22737839
The forms dribble in over a period of time in different offices in different countries.

Would like to be able to "File Upload" the completed PDF form and the PHP application extract the data.
0
 
LVL 1

Accepted Solution

by:
socross earned 500 total points
ID: 22740621
I used a similar process earlier this year when I sent out a questionnaire for my dissertation research. I emailed the .pdf questionnaire as a form with an "Submit" link at the bottom which automatically e-mailed the questionnaire to me for collation.

The alternative to this is configuring the "Submit" button to upload the data directly to a server via HTTP. To compile you simple point acrobat towards the data on the server and it will compile it and output it to CSV or XML.

The functionality that you want is already there and it will certainly save a lot of time programming PHP.

0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In a previously published article (http://www.experts-exchange.com/articles/10331/Automatic-Duplex-Scanning-in-PaperPort-Versions-11-12-14.html) here at Experts Exchange, I explained how to achieve duplex (double-sided) scanning in Nuance's PaperPor…
This article shows how to convert a multi-page PDF file into multiple image files, with one image file created for each page of the PDF. It does this by utilizing an excellent, free software package called GraphicsMagick. The solution is amazingly s…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now