Alex Rivera | Logout

Merge FDF data into a PDF file using PHP

Asked 2009-09-07T15:50:57.667
21

Is it possible to merge FDF data with a PDF file using PHP alone? Or is there no option but to use a 3rd party command line tool to achieve this?

If that is the case can someone point me in the direction of one?

I am currently outputting the FDF file to the browser in the hope that it will redirect the user to the filled in PDF but for some people that is not the case. The FDF contents is being output to the screen, even though I am using header('Content-type: application/vnd.fdf');

Edit
Report

1 Answer

2

by far the easiest way I have found to install pdftk on centos:

Install rpmforge repo - http://wiki.centos.org/AdditionalResources/Repositories/RPMForge#head-5aabf02717d5b6b12d47edbc5811404998926a1b

then

yum install pdftk

and thats it!

answered 2010-11-20T07:18:23.867

Your Answer