fdf_open

(PHP 4, PHP 5, PHP 7)

fdf_openOpen 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.

인수

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 a FDF document handle, or FALSE on error.

예제

Example #1 Accessing the form data

<?php
// Save the FDF data into a temp file
$fdffp fopen("test.fdf""w");
fwrite($fdffp$HTTP_FDF_DATAstrlen($HTTP_FDF_DATA));
fclose($fdffp);

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

참고

add a note add a note

User Contributed Notes

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