<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Wed, 09 Jul 2008 07:20:31 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Eirik Hoem's Blog: Populate PDF templates with PHP / FPDF / FPDI]]></title>
      <guid>http://www.phpdeveloper.org/news/10141</guid>
      <link>http://www.phpdeveloper.org/news/10141</link>
      <description><![CDATA[<p>
<i>Eirik Hoem</i> recently <a href="http://blog.eirikhoem.net/index.php/2008/04/28/populate-pdf-templates-with-php-fpdf-fpdi/">pointed out</a> two libraries that can be used in PHP to generate PDF files dynamically - <a href="http://www.fpdf.org/">FPDF</a> and <a href="http://www.setasign.de/products/pdf-php-solutions/fpdi/">FPDI</a>.
</p>
<blockquote>
Ever wanted to generated PDF documents on the fly with PHP? Perhaps populate a standard contract with a customers name and address? FPDF and FPDI are two neat libraries which greatly helps when working with PDF files.
</blockquote>
<p>
FPDF handles most of the work of creating and working with the PDF files while FPDI works together with it to pull in existing PDF files so FPDF can modify them. He links to <a href="http://blog.eirikhoem.net/wp-content/uploads/2008/04/pdf_sample.zip">some sample code</a> you can try out once you've installed the two libraries.
</p>]]></description>
      <pubDate>Thu, 08 May 2008 11:11:55 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Builder.com.au: Generating PDF Files with PHP and FPDF]]></title>
      <guid>http://www.phpdeveloper.org/news/9665</guid>
      <link>http://www.phpdeveloper.org/news/9665</link>
      <description><![CDATA[<p>
The Builder.com.au website has a <a href="http://www.builderau.com.au/program/php/soa/Generating-PDF-files-with-PHP-and-FPDF/0,339028448,339286044,00.htm">new tutorial</a> posted today that looks at the dynamic creation of a web standard (PDF files) inside of a PHP script.
</p>
<blockquote>
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
</blockquote>
<p>
They show how to use the <a href="http://www.fpdf.org/">FPDF</a> 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.
</p>]]></description>
      <pubDate>Wed, 20 Feb 2008 08:42:00 -0600</pubDate>
    </item>
  </channel>
</rss>
