★ wanayoo — archive 1999 http://www.php.net/manual/function.fdf-open.phpNouvelle recherche | Portail wanayoo

PHP Home Page

Manual Table of Contents
Up to FDF
Quick Reference
German version of this pageJapanese version of this pageItalian version of this pageFrench version of this pageHungarian version of this page
FDF
* fdf_open
* fdf_close
* fdf_create
* fdf_save
* fdf_get_value
* fdf_set_value
* fdf_next_field_name
* fdf_set_ap
* fdf_set_status
* fdf_get_status
* fdf_set_file
* fdf_get_file
Manual: fdf_open
View the source code for this pageSearch the site



Previous page
 FDF
 Updated
Sat, 12 Aug 2000
fdf_close 
Next page


fdf_open

(PHP3 >= 3.0.6, PHP4 )

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().


 About Notes


Previous page
 FDF
 Updated
Sat, 12 Aug 2000
fdf_close 
Next page





Who's responsible for this?
Top of this page

Site
Hosting:



Located in
United States
Elements of this website are subject to copyright.
Questions about installing or using PHP should be directed to one of the mailing lists.
Only questions about the website should be directed to webmaster@php.net.