Req #61647 [Opn->Fbk]: FDF/XFDF merging PDF Form on server.

From: Date: Tue, 21 Jun 2016 20:21:26 +0000
Subject: Req #61647 [Opn->Fbk]: FDF/XFDF merging PDF Form on server.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-201778@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=61647&edit=1 ID: 61647 Updated by: cmb@php.net Reported by: acool dot development at 10-network dot net Summary: FDF/XFDF merging PDF Form on server. -Status: Open +Status: Feedback Type: Feature/Change Request Package: PDF related Operating System: Linux PHP Version: Irrelevant -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: Are you referring to <https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/>? Previous Comments: ------------------------------------------------------------------------ [2012-04-05 22:59:41] acool dot development at 10-network dot net Description: ------------ I have open this ticket to request a function/feature that I personally belive will benefit all the PHP community out there. PDF has become the most popular way to universally provide and transfer reports, invoices, letters, CC statements and records; PHP needs an easy way to dynamically update PDF documents. One way to update a PDF form template is by using FDF/XFDF plain text files. I am aware of the current PDF and FDF functions currently available in PHP, but none offers local rendering. I've done my homework. A third party utility ( pdftk ) can be used along with PHP to obtained the desired results, and it's fairly easy. The following link is the original post that gives the code example: http://stackoverflow.com/questions/1389964/merge-fdf-data-into-a-pdf-file-using-php The only downside of this approach is the lack of support for pdftk in shared enviroments, adding this feature to PHP will likely make hosting companies to include it in their compilings. PHP is my prefered way of coding the web, adding cool tools and features will ensure PHP stays atop popularity. Angel Cool Test script: --------------- header('Content-type: application/pdf'); header('Content-Disposition: attachment; filename="Statement.pdf"'); passthru("pdftk Template.pdf fill_form UpdatedFieldsUsingPHP.fdf output - "); exit; ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=61647&edit=1

« previous php.bugs (#201778) next »