PHP 忒聊
綴豖
ヶ輛
fdf_create
(PHP 3 = 3.0.6, PHP 4)
Description
The fdf_create() creates a new FDF document. This function is needed if one would like to populate input fields in a PDF document with data.
瞰赽 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(), fdf_save(), fdf_open().
綴豖
れ萸
ヶ輛
fdf_close
奻珨撰
fdf_errno