fdf_open
fdf_open
Open a FDF document
resource **fdf_open** string $filename
Opens a file with form data.
You can also use to process the
results of a PDF form POST request.
fdf_open_string
filename
Path to the FDF file. This file must contain the data as returned from
a PDF form or created using and
.
fdf_create``fdf_save
Returns a FDF document handle, or false on error.
Voorbeeld: Accessing the form data
<?php
// Save the FDF data into a temp file
$fdffp = fopen("test.fdf", "w");
fwrite($fdffp, $HTTP_FDF_DATA, strlen($HTTP_FDF_DATA));
fclose($fdffp);
// Open temp file and evaluate data
$fdf = fdf_open("test.fdf");
/* ... */
fdf_close($fdf);
?>
fdf_open_string``fdf_close``fdf_create``fdf_save