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

Working with Images and Text Flows in PDF Files with PHP 5
Nov 14, 2007 @ 10:26:00

DevShed has posted the next article in their tutorial series dealing with PDF generation in PHP5. Previously, they've discussed the creation of the file and the addition of text, this time they take it further with new functionality - images.

At this point, you hopefully recall how to use the previous methods to display multiple lines of text in a concrete PDF file, so it's time to learn a few more method bundled with the library. As you'll see in the next few lines, these methods can be quite helpful for performing other tasks, like including images and blocks of texts into the PDF file in question.

They list out the complete source so far to provide a refresher before starting, then move on to the new functionality - adding a basic image and positioning it and creating and adding a text field to your sample PDF.

tagged: php5 text image tutorial pdf create php5 text image tutorial pdf create