PHP 8.1.28 Released!


(PHP 4, PHP 5 < 5.3.0, PECL fdf SVN)

fdf_openOpen a FDF document


fdf_open(string $filename): resource

Opens a file with form data.

You can also use fdf_open_string() to process the results of a PDF form POST request.

Bağımsız Değişkenler


Path to the FDF file. This file must contain the data as returned from a PDF form or created using fdf_create() and fdf_save().

Dönen Değerler

Returns a FDF document handle, or false on error.


Örnek 1 Accessing the form data

// Save the FDF data into a temp file
$fdffp = fopen("test.fdf", "w");
fwrite($fdffp, $HTTP_FDF_DATA, strlen($HTTP_FDF_DATA));

// Open temp file and evaluate data
$fdf = fdf_open("test.fdf");
/* ... */

Ayrıca Bakınız

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top