Hi All,
I have created a PDF with a text field for an image as well as a PHP/HTML file with corresponding text fields. The html allows people to upload pics to be including in the fdf file. My question is how do you include those pictures that were uploaded??? Can I do this with a text field in the PDF or does it need to be something else?
below is the code that I use to create a fdf
function createFDF($file,$info){
$data="%FDF-1.2\n%âãÏÓ\n1 0 obj\n<< \n/FDF << /Fields [ ";
while(list($field,$val)=@each($info))
$data.='<< /V ('.trim($val).')/T ('.$field.')>> ';
$data.="] \n/F (".$file.")/ID [ <4192533d140e0d029c26a59d78feccb4>".
"<252e6f3e8dd819eb3954800ab61dd5fc>\n] >> \n>> \nendobj\ntrailer\n".
"<<\n/Root 1 0 R \n\n>>\n%%EOF\n";
return $data;
}
Thanks,
Angelmoon