Linux System Administrator
Jupitermedia
US-CT-Darien

Justtechjobs.com Post A Job | Post A Resume

FDF Support in PHP
Motivation
Interaction on the WWW often means filling out forms, hitting the submit button and getting a certain result. HTML and HTTP provide a mechanism to perform this quite easily through forms. PHP has support for this mechanism in a very convenient way. The values of each input field are stored in PHP variables, with the same name as the input field.
A mechanism quite similar has been developed by Adobe, but for PDF documents. They simply call it Acrobat Forms. From the users point of view, the only difference in HTML forms and Acrobat forms is their appearance. The first one uses HTML documents, while the second one uses PDF documents to present the form.
For developers of web interfaces, Acrobat Forms can be handled like HTML forms, if the form provides its input data as HTML forms. However, Adobe has introduced a new format for form data called FDF (Form Data Format). PHP already includes support for this format.
The possibility to populate a PDF document with data, e.g. to customize it, is an additional feature of Acrobat Forms. . Using PDF documents as forms and populating PDF documents with data using PHP will be described in this article. Two examples demonstrate how easy it is.
Before you start trying the online examples in this article you should install the Acrobat Reader Plug-in or use Acrobat 4. If you want to test the PHP scripts on your own web server you will also need to install the FDF Toolkit and enable FDF support in PHP. Finally, if you want to develop your own PDF forms you will need Acrobat Exchange 3.x or Acrobat 4.
[ Next Page ]


Comments:
RE: How about submitting HTML form to PDF?Movses Kiredjian07/25/07 06:43
using fdf for loading image dynamicallybosheng06/27/05 12:38
Error Messages kim07/20/04 12:55
RE: Add data to an existing PDF and print it Pinoy05/18/03 22:10
RE: WORD.DOC to PDFCharles12/10/02 22:57
RE: Enabling FDF support in PHPMaleMan11/04/02 06:06
nice tool to convert html to pdfDavid Feliu10/13/02 05:54
WORD.DOC to PDFstash09/20/02 11:54
submit forms across a networkChris09/07/02 00:25
FDF and IEAbhijit08/12/02 12:19
PDF/FDF and PHPPete Maguire08/07/02 12:26
Add data to an existing PDF and print it out?Jo Hammerstein08/07/02 10:28
RE: use fdf files with Access?Dharmendra Sharma08/02/02 22:36
comment generer du pdf ŕ partir rachid08/01/02 05:06
RE: FDF, PHP, multi page documentAnurag Verma07/12/02 05:57
RE: Looking for tools for creating pdf formsRick Holbert07/10/02 10:01
RE: fdf_open failsAbhijit07/04/02 20:49
RE: problem with pdf_open()Dean Grant05/28/02 10:35
Looking for tools for creating pdf formsjbv05/27/02 16:23
Again about Enabling FDF support in PHPMarco05/25/02 08:33
Is it possible to publish FDF data to HTML?Mike04/29/02 11:29
RE: FDF, PHP, multi page documentsowmya04/26/02 01:26
use fdf files with Access?ERRESSE04/13/02 15:55
RE: Internet Explorer and PDF/FDFAndré04/03/02 11:05
RE: Internet Explorer and PDF/FDFNed Wolfenbarger04/02/02 17:33
RE: Internet Explorer and PDF/FDFgreg greenhaw04/01/02 15:44
RE: FDF, PHP, multi page documentMario Rui02/14/02 11:12
RE: Internet Explorer and PDF/FDFDave Turnbull01/17/02 16:41
Filling PDFs - FDF or JavascriptGreg Greenhaw12/27/01 19:34
FDF & JavascriptGreg Greenhaw12/27/01 19:29
RE: fdf_open failsJoe Mainolfi11/13/01 16:34
Configuring PHP and FDFJoe Mainolfi11/12/01 12:54
Where data sent are stored?Enzosan10/09/01 06:49
RE: Enabling FDF support in PHPChristopher Chan09/21/01 04:31
fdf_open failsomprakash09/08/01 12:22
$HTTP_RAW_POST_DATA is emptyDavid08/09/01 11:07
FDF, php 4.0.6 (cgi/isapi), windows 2000, ii5Hans Soeharso08/06/01 11:53
RE: how to subit html form to php?Jim Henderson06/25/01 13:19
how to subit html form to php?thamilselvan06/18/01 22:14
Enabling FDF support in PHPMark Anderson06/13/01 05:49
fdf in jsp ...sanjeev04/27/01 07:43
Wrong version?Michael A. Peters02/26/01 16:35
RE: Adobe's files don't workJohn Gerstenslager02/19/01 07:27
FDF, PHP, multi page documentwilfrid gaboriaud02/19/01 05:53
Adobe's files don't workJohn Gerstenslager02/18/01 19:37
RE: How about submitting HTML form to PDF?Oliver Klink02/08/01 04:20
RE: How about submitting HTML form to PDF?Erick Schmidt01/26/01 13:00
RE: generating PDF from common document formaMax Wyss01/07/01 17:18
RE: How about submitting HTML form to PDF?Max Wyss01/07/01 17:07
problem with pdf_open()Alf Magne Kalleland01/04/01 08:13
Examples don't work with blank fieldsGirvan Bell12/14/00 07:23
The examples are brokenalain12/09/00 01:13
RE: Internet Explorer and PDF/FDFalain12/09/00 01:01
Internet Explorer and PDF/FDFGirvan Bell12/04/00 07:18
how to check pdf file width and height in phpricky12/02/00 05:23
RE: How about submitting HTML form to PDF?Adam11/30/00 15:15
RE: generating PDF from common document formaRick Holbert11/29/00 14:30
More PHP/PDFJohn Gallagher11/22/00 03:57
FDF not writing filesChad W. Skinner11/21/00 14:47
FDF & NN6Antonio Cavedoni11/21/00 11:57
generating PDF from common document formatsBen Munoz11/20/00 22:14
RE: How about submitting HTML form to PDF?Jon Busch11/20/00 21:37
Thanks for the exampleJefferey Garrett11/17/00 12:24
How about submitting HTML form to PDF?Rex Byrns11/17/00 10:43
Your examples don't workChester Bullock11/17/00 09:55
 

If you are looking for help, please post on the appropriate forum here. Your questions will be answered much more quickly.

Add A Comment:

Name:

Email:

Subject:

Message:

To reduce spam posts, messages are now manually approved

You are not [logged in]. That means your account will not get credit for this post.