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 documentSYNOPSISresource fdf_create (void )DESCRIPTIONCreates a new FDF document. This function is needed if one would like to populate input fields in a PDF document with data.RETURN VALUESReturns a FDF document handle, or FALSE on error.EXAMPLESExample #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 ALSOfdf_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 |