So I have a server running ubuntu 10.04 and I am using this program to merge PDFs called pdftk.
It has a bug when I run it on 10.04, but not when I installed it on 14.04 (or presumably 12.04). Unfortunately upgrading the server is not a possibility at this time. So I am trying to proceed with an alternate method.
I am running PHP scripts to generate the pdfs on the 10.04, and the files will be saved on that server, but I would like to use the functionality of the 14.04 to execute the merge of PDF files.
So I am just wondering wether this is this possible? Would the 14.04 version be able to access the publicly available PDFS, or would I have to copy over the files first, execute the merge, then return the merged file?
Any example scripts would be greatly appreciated.
To merge the files via php, I currently use this command (which doesn't work on 10.04)
exec('pdftk ' . $base_pdf_path . ' fill_form ' . $fdf_path . ' output ' . $filled_path);
Sincere thanks for the help.