Req #61647 [Fbk->NoF]: FDF/XFDF merging PDF Form on server.
| From: | php-bugs at lists dot php dot net | Date: | Sun, 03 Jul 2016 04:22:20 +0000 |
| Subject: | Req #61647 [Fbk->NoF]: FDF/XFDF merging PDF Form on server. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-202000@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: php-bugs@lists.php.net
Reported by: acool dot development at 10-network dot net
Summary: FDF/XFDF merging PDF Form on server.
-Status: Feedback
+Status: No Feedback
Type: Feature/Change Request
Package: PDF related
Operating System: Linux
PHP Version: Irrelevant
Assigned To: cmb
Private report: N
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2016-06-21 20:21:23] cmb@php.net
Are you referring to
<https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/>?
------------------------------------------------------------------------
[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