PHP - Manual: fdf_open_string
2024-12-22
(PHP 4 >= 4.3.0, PHP 5 < 5.3.0, PECL fdf SVN)
fdf_open_string — Read a FDF document from a string
$fdf_data
): resourceReads form data from a string.
You can use fdf_open_string() together with $HTTP_FDF_DATA to process FDF form input from a remote client.
fdf_data
The data as returned from a PDF form or created using fdf_create() and fdf_save_string().
Returns a FDF document handle, or false
on error.
示例 #1 Accessing the form data
<?php
$fdf = fdf_open_string($HTTP_FDF_DATA);
/* ... */
fdf_close($fdf);
?>
官方地址:https://www.php.net/manual/en/function.fdf-open-string.php