Creating PDFs with dynamic content w/ PDF Lite?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
eblackwell
Forum Newbie
Posts: 19
Joined: Mon Oct 10, 2011 3:19 pm

Creating PDFs with dynamic content w/ PDF Lite?

Post by eblackwell »

We have PHP Version 5.3.10 with PDFlib GmbH Version 7.0.5, PECL Version 2.1.8, and Revision $Revision: 1.5.2.18 $. I need to output a PDF with user data from the database. I'm new to PHP in general and never worked with the PDF library.

Where's a good tutorial on doing this (using PHP 5 PDFLib)? A lot of sites I've found have outdated references and the one on the PHP isn't meant for a newbie learning it.

I appreciate the help!
Last edited by eblackwell on Thu May 31, 2012 11:25 am, edited 2 times in total.
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: Creating PDFs with dynamic content w/ PDF Lite?

Post by Celauran »

eblackwell wrote:2: Is this a good way to create this dynamic PDF? I see people pushing their other services like FPDF which didn't seem any easier actually.
FPDF is dead simple and their site has some good tutorials. Where are you getting stuck?
eblackwell
Forum Newbie
Posts: 19
Joined: Mon Oct 10, 2011 3:19 pm

Re: Creating PDFs with dynamic content w/ PDF Lite?

Post by eblackwell »

Just saw on its tutorials that it can't handle users generating a couple hundred PDFs, so FPDF isn't an option with its limitations.

So: good tutorial for a newbie on creating PDFs with PHP 5? With dynamic content?
Post Reply