PHP fdf_open function
Like this blog? Consider exploring one of our sponsored banner ads...
fdf_open
(PHP 3 >= 3.0.6, PHP 4, PHP 5)
fdf_open — Open a FDF documentDescriptionresource 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.
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().
Return Values
Returns a FDF document handle, or FALSE on error.
Example 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)); fclose($fdffp); // Open temp file and evaluate data $fdf = fdf_open("test.fdf"); /* ... */ fdf_close($fdf);
See Also
fdf_open_string()fdf_close()fdf_create()fdf_save()
About this entry
You’re currently reading “PHP fdf_open function,” an entry on BRADINO
- Published:
- 2.26.07 / 1am
- Category:
- PHP Functions
- Tags:
No comments
Jump to comment form | comments rss [?] | trackback uri [?]