fdf_open_string Read a FDF document from a string php函数


fdf_open_string

(PHP 4 >= 4.3.0, PHP 5)

fdf_open_stringRead a FDF document from a string

说明

resource fdf_open_string ( string $fdf_data )

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

范例

Example #1 Accessing the form data

<?php
$fdf 
fdf_open_string($HTTP_FDF_DATA);
/* ... */
fdf_close($fdf);
?>

参见



相关阅读:
fdf_remove_item Sets target frame for form
fdf_save Save a FDF document
fdf_save_string Returns the FDF document as a string
fdf_set_ap Set the appearance of a field
fdf_set_encoding Sets FDF character encoding
fdf_set_file Set PDF document to display FDF data in
fdf_set_flags Sets a flag of a field
fdf_set_javascript_action Sets an javascript action of a field
fdf_set_on_import_javascript Adds javascript code to be executed when Acrobat opens the FDF
fdf_set_opt Sets an option of a field
fdf_set_status Set the value of the /STATUS key
fdf_set_submit_form_action Sets a submit form action of a field
fdf_set_target_frame Set target frame for form display
fdf_set_value Set the value of a field
快速导航

Copyright © 2016 phpStudy |