FDF Toolkit 6
| From: | Jon Ford | Date: | Mon, 29 Dec 2003 20:28:35 +0000 |
| Subject: | FDF Toolkit 6 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-173445@lists.php.net to get a copy of this message | ||
I am having trouble getting FDF Took Kit for Adobe 6 and php 4.3.4 to
correctly merge the fdf data into the pdf form. I am using the file below,
which merges fine on our server running FDF Tool Kit for Adobe 4 and php
4.3.4 but won't merge using FDF 6. Are there changes in the FDF Tool Kit 6
that php doesn't handle currently?
<?php
$status = "hello";
$fdfhandle = fdf_create();
fdf_set_value($fdfhandle,"status",$status, 0);
$pdffile = "http://172.16.84.213/simple1.pdf";
$fdffile = simple.fdf;
fdf_set_file($fdfhandle, $pdffile);
fdf_save($fdfhandle, $fdffile);
fdf_close($fdfhandle);
header("Content-type: application/vnd.fdf");
$fp = fopen($fdffile, "r");
fpassthru($fp);
unlink($fdffile);
?>