fdf_create(3) php man page | unix.com

Man Page: fdf_create

Operating Environment: php

Section: 3

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
pstopdf(1) - mojave
pdf2dsc(1) - centos
pdf2dsc(1) - suse
fdf_open(3) - php
fdf_set_value(3) - php
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun
Denial Of Service Attack Update
Please Welcome Nicki Paul to the Moderator Team!