PDF Functions


The PDF functions allow the creation of PDF files dynmically in PHP. To use these functions you must have PDFlib available from installed which is available from http://www.pdflib.com/. At the time of writing, the latest version available was PDFlib-4.0.0 which is the version documented here. As of PDFlib-4.0.0, PHP support and PDFlib support were integrated meaning that a copy of the extension was distributed with PDFlib as well as being distributed with PHP-4.0.5. If you have an earlier version of PHP installed, it is possible to use the PDFlib suppliled extension to use PDFllb supplied extension to add support for PDFlib 4 to your version of PHP. There are two versions of PDFlib available. The free version contains the basic PDF library for creating file-based and in-memory PDF documents. The commercial version also contains the PDI interface allowing existing PDF documents to be imported and modified. In some instances, a commercial license may be needed for the free version of PDFlib. Please see the PDFlib website for more details.