(PHP 4, PHP 5, PHP 7)
Open a FDF document
resource fdf_open ( string $filename )
Opens a file with form data.
You can also use fdf_open_string() to process the results of a PDF form POST request.
Parameters:
filename
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().
Returns:
Returns a FDF document handle, or FALSE
on error.
Examples:
Accessing the form data
1 2 3 4 5 6 7 8 9 10 11 | <?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 ); ?> |
See also:
Please login to continue.