Forum und email
fdf_open_string

fdf_open_string

(PHP 4 >= 4.3.0, PHP 5)

fdf_open_string -- Read a FDF document from a string

Opis

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.

Parametry

fdf_data

The data as returned from a PDF form or created using fdf_create() and fdf_save_string().

Zwracane wartości

Returns a FDF document handle, or FALSE on error.

Przykłady

Przykład 1. Accessing the form data

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