Документ взят из кэша поисковой машины. Адрес оригинального документа : http://oit.cmc.msu.ru/php/function.fdf-open.html
Дата изменения: Sun Feb 3 22:39:19 2002
Дата индексирования: Mon Oct 1 21:16:15 2012
Кодировка:
fdf_open

fdf_open

(3.0.6 - 3.0.18 only, PHP 4 >= 4.0.0)

fdf_open -- Open a FDF document

Description

int fdf_open ( string filename)

The fdf_open() function opens a file with form data. This file must contain the data as returned from a PDF form. Currently, the file has to be created 'manually' by using fopen() and writing the content of HTTP_FDF_DATA with fwrite() into it. A mechanism like for HTML form data where for each input field a variable is created does not exist.

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);
?>

See also fdf_close().