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

DevArticles:
PDFs and PHP Can Get Along!
Apr 08, 2003 @ 12:11:54

Right on the heels of their PHP-CLI article yesterday, the folks over at DevArticles.com have a new, quite useful piece entitled Use PHP to Create Dynamic pdf Files.

In this latest article, they show you how, with the help of a dll file on Windows, to create a dynamic PDF document with content of your choosing. The example they give is on a Windows system, but there are PDF libraries that you can install and run on PHP in a unix-based environment (check out the manual for more info). The example uses a form to grab information, then pulls in the input, a font type, some other data chunks, and an image, then magically combines them to make the whole PDF file.

This process is much easier than it used to be, and I'm glad they've refined the interface to the PDF library so much. Last time I messed with it, it was almost too much of a pain to even consider using...

tagged:

Link:


Trending Topics: