Solved

Read Acrobat 7 PDF form data with PHP

Posted on 2008-10-16
3
693 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn how to count occurrences of each item in an array.
Microsoft Office Picture Manager has a Picture Shortcuts pane that shows a list with the Recently Browsed folders. While creating my video Micro Tutorial here at Experts Exchange showing How to Install Microsoft Office Picture Manager in Office 2013…

806 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