PDA

View Full Version : PDF creation through php



lapubell
November 19th, 2007, 01:20 AM
So i am running a small business website and am looking to generate flyers based on the data from the database and place a few pictures in the flyer as well. I have had some (very little) luck trying to do this through latex, but I don't really understand the syntax and it seems that it is more designed for long documents, not so much for single page flyers.

I guess I am looking for some other tools that I could use for pdf creation or other suggestions. The whole site is coded in php/mysql and I don't mind using other languages, but I'm kinda at a loss as to building pdfs with latex.

I was hoping for some kind of tool that existed where I could define X/Y coordinates for individual text blocks and picture placement.

Does such a thing exist? I'm still googleing but anyone has any suggestions, I am all ears!

aks44
November 19th, 2007, 01:25 AM
PHP has an extension for building PDFs:

http://fr.php.net/manual/en/ref.pdf.php

lapubell
November 19th, 2007, 02:30 AM
thanks. I'm looking into one of the alternative links at the bottom of that page.

http://www.potentialtech.com/ppl.php seems to be a bit easier to understand but really, thanks!