News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Builder.com.au:
Generating PDF Files with PHP and FPDF
February 20, 2008 @ 08:42:00

The Builder.com.au website has a new tutorial posted today that looks at the dynamic creation of a web standard (PDF files) inside of a PHP script.

An alternative way of generating PDF files with PHP is using FPDF, a free PHP class containing a number of functions for creating and manipulating PDFs. The key word here is free. You are free to download and use this class or customise it to fit your needs. In addition to being free, it's also simpler to use than PDFlib. The PDFlib needs to be installed as an extension in your PHP package, whereas FPDF can just be included in your PHP script and it's ready to use

They show how to use the FPDF library to make some simple files - setting the title, author, adding images and text, etc. There's even a little bit there at the end about adding new pages to make more complex documents simple.

0 comments voice your opinion now!
pdflib fpdf generate tutorial free library


blog comments powered by Disqus

Similar Posts

Gonzalo Ayuso: Combining Zend Framework2 and Symfony2 components with Composer to build PHP projects

DevShed: Performing Basic Tasks with MySQL 4.1 and Above, using mysqli with PHP 5

Ian Christian's Blog: Handling Uploaded file in symfony’s admin generator

Matthew Weier O'Phinney's Blog: Developing A ZF2 Blog

Sonspring.com: Time Sensitive CSS


Community Events





Don't see your event here?
Let us know!


update symfony opinion introduction series mvc composer language version package voicesoftheelephpant community interview security release podcast laravel tool library framework

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework