php man page for fdf_create

Query: fdf_create

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

FDF_CREATE(3)								 1							     FDF_CREATE(3)

fdf_create - Create a new FDF document

SYNOPSIS
resource fdf_create (void )
DESCRIPTION
Creates a new FDF document. This function is needed if one would like to populate input fields in a PDF document with data.
RETURN VALUES
Returns a FDF document handle, or FALSE on error.
EXAMPLES
Example #1 Populating a PDF document <?php $outfdf = fdf_create(); fdf_set_value($outfdf, "volume", $volume, 0); fdf_set_file($outfdf, "http:/testfdf/resultlabel.pdf"); fdf_save($outfdf, "outtest.fdf"); fdf_close($outfdf); Header("Content-type: application/vnd.fdf"); $fp = fopen("outtest.fdf", "r"); fpassthru($fp); unlink("outtest.fdf"); ?>
SEE ALSO
fdf_close(3), fdf_save(3), fdf_open(3). PHP Documentation Group FDF_CREATE(3)
Related Man Pages
fdf_add_doc_javascript(3) - php
fdf_save_string(3) - php
fdf_set_file(3) - php
fdf_get_attachment(3) - php
fpassthru(3) - php
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
User Guide: Posting in the Emergency Forum
Forum Video Tutorial: How to Use Code Tags
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch