PHP Classes

Requires PDFTK

Recommend this page to a friend!

      Form PDF  >  All threads  >  Requires PDFTK  >  (Un) Subscribe thread alerts  
Subject:Requires PDFTK
Summary:Misleading description
Author:Jayme Fishman
Date:2014-06-19 00:22:02

  1. Requires PDFTK   Reply   Report abuse  
Picture of Jayme Fishman Jayme Fishman - 2014-06-19 00:22:03
It says it can populate a PDF with "pure PHP" however it executes against a dependency of pdftk (written in Java) which is compiled code that does not exist on every PHP server (and you won't find in most shared hosting environments):

exec("pdftk $FilePDF_Ref fill_form $FileFDF output $FilePDF_Out");

You can do the same thing from reading the pdftk documentation.

This got an award?

From wikipedia:

From Wikipedia, the free encyclopedia
PDFtk Developer(s) Sid Steward
Initial release July 14, 2004
Stable release 2.02 / July 24, 2013; 10 months ago[1]
Written in Java
Operating system Cross-platform
Type PDF utility
License GPL

PDFtk or The PDF Toolkit is an open source cross-platform tool for manipulating Portable Document Format (PDF) documents. PDFtk is a front end to the iText library (compiled to native code using GCJ), capable of splitting, merging, encrypting, decrypting, uncompressing, recompressing, and repairing PDFs. It can also be used to manipulate watermarks, metadata, and to fill PDF Forms with FDF Data (Forms Data Format) or XFDF Data (XML Form Data Format).

  2. Re: Requires PDFTK   Reply   Report abuse  
Picture of Daniel Gloy Daniel Gloy - 2018-11-01 06:49:31 - In reply to message 1 from Jayme Fishman
I totally agree. I am really struggling to fix a php - xfdf - pdf solution.

For more information send a message to info at phpclasses dot org.