BlaBla.cn

PHP: fdf_open - Manual

BlaBla.cn
fdf_remove_item > <fdf_open_string
Last updated: Wed, 19 Mar 2008

fdf_open

(PHP 4, PHP 5)

fdf_open — Open 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_DATA strlen ( $HTTP_FDF_DATA ));
fclose ( $fdffp );

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




fdf_remove_item > <fdf_open_string
Last updated: Wed, 19 Mar 2008
 
 
BlaBla.cn

© 2005-2008 BlaBla.cn 版权所有