9Jun/090
Creating PDF’s Dynamically with PHP
Today I had a project that required me to tap into a preexisting gallery of images and generate a PDF document from those images. Lucky for me there was already an XML file pointing to all those images which made the job a tid bit easier. The workflow is as follows.
1. loop through the XML file and extract all the images and put them in a variable.
2. Use the variable to finish out the string to each Image
2. Push that info through Cezpdf class to do all the heaving lifting and create our PDF for us.
3. Test
4. We're done.