Php fdf Documentation Support _ PHP Tutorial

Source: Internet
Author: User
Tags fdf
Php fdf documentation support. The interaction on WWW means to fill in the table, click the submit button, and then get a definite result. Html and Http provide a mechanism to easily perform such operations through forms. PHP uses a very WWW interaction, which means to fill in the table, click the submit button, and then get a final result. Html and Http provide a mechanism to easily perform such operations through forms.
PHP supports this mechanism in a very convenient way. The value of each input field (the input box of the form) is stored as a PHP variable with the same name as the input field.

A similar mechanism has been developed by adobe, but it is for PDF documents. They simply call it the Acrobat form. From the user's point of view, Html forms and Acrobat tables
The only difference is their appearance. The former uses HTML documents, and the latter uses PDF documents to render forms.

To develop a WEB interface, the Acrobat form can also be processed like an HTML form. if this form provides input data like an HTML form. However, Adobe already has the number of forms
A new format named FDF (form data format) is proposed ). PHP already supports this format.

The possibility of generating a PDF document with data, such as customizing it, is an additional feature of the Acrobat form. Using a PDF document as a form and generating a PDF document with data in PHP will be
This article is described. You will find how easy these two examples are.

Install the Acrobat Reader plug-in or use Acrobat 4. if you want to test the php script on your web server
You also need to install the PDF toolkit and make the FDF support in PHP take effect.

Finally, if you develop your own PDF form, you need Acrobat Exchange 3.x or Acrobat 4.

In the past few years, Adobe has developed and extended portable document formats (PDF. One extension is Acrobat, which allows users to input data and send it to the server for processing.
Form, like an HTML form.
Such a PDF file is similar to a static PDF file, but when you use Acrobat reader to view it, you will find an editable area.
As in HTML, many input fields are valid, such as The submit and reset buttons, text input fields, check boxes, and so on ..
Creating such a PDF form requires Acrobat Exchange 3.x or a new Acrobat 4 software. Unfortunately, they can only run in windows and MacOS.
Both provide a way to place different input fields in an existing PDF file.
The submit button transmits the URL attribute called when it is pressed. This is very similar to HTML, but the difference is the format when data is transmitted to the server.
When you press the Submit button, the data is transmitted from the HTML form in a fixed format that can be observed in the URL. Acrobat forms support this format, and FDF (form data format)
FDP is a new format that needs to be explained by the FDF Toolkit (current version 4.0. If PHP adds FDF support during compilation, it can parse FDF Data and access any input domain by name.
FDF Data is usually stored in the HTTP_RAW_POST_DATA variable of PHP (just as HTML data is stored in HTTP_POAT_DATA)
The actual data assignment is completed in the PHP script. On the contrary, the HTML submitted data is assigned a value in the PHP engine.

To get a FDF Data look like this, here is an example, but let's see it in the English system)


Bytes. Html and Http provide a mechanism to easily perform such operations through forms. PHP uses a very...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.