Portable  Document  Markup  Language SourceForge.net Logo
Home Examples Try it Online Downloads FAQ Documentation Road Map Forums

Getting Started

After reading this page, you should be able to start using PDML for your own PHP projects.
QuickStart:

(This assumes you already have php installed and working on your system.)

  1. Unzip pdml in a directory PHP looks up. For quick testing, you can unzip it in a sub-directory of your web server, and any php files in that directory should be able to use it.
  2. You should now see "pdml.php", "fpdf.php" and a "fonts" sub-directory in the directory you picked.
  3. Create a new php file in that directory, for example "test.php"
  4. The first line of a PDML document needs to be: <?php include "pdml.php; ?>
  5. Following this, you can write a normal PDML document.
  6. Save your file, and load it in your browser.
Note that you can use php tags freely within your PDML document. It is recommended however to split your PDML templates from your PHP code, linking them with simple PHP calls in your templates.
You should now be ready to jump to the reference documentation.
Site design and content copyright (c) 2004 Henri T.