(PHP 4, PHP 5, PHP 7)
Create a new FDF document
resource fdf_create ( void )
Creates a new FDF document.
This function is needed if one would like to populate input fields in a PDF document with data.
Returns:
Returns a FDF document handle, or FALSE
on error.
Examples:
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:
Please login to continue.