News Feed
Sections




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

WebCheatSheet.com:
PHP Dynamic Image Generation
November 20, 2006 @ 14:14:00

From the WebCheatSheet.com site, there's a new tutorial helping you create some dynamic images for your pages, specifically creating a CAPTCHA image, a dynamic bar graph, and using these images on other pages.

They assume you know a little something about the graphics functionality in PHP before you've started because they dive right into the code for the CAPTCHA image. They explain what the code's doing, but if you're not familiar with the PHP GD functions, you might be a little lost. Their string for the image is a randomly generated md5 hash.

The bar graph example is similar and they include a bit more for it - pulling information from a database (MySQL) backend (the results from a poll). They provide all of the code for this example and finish the tutorial off with a brief look at the options for using these types of dynamic images on the other pages in your site.

0 comments voice your opinion now!
dynamic image generation gd tutorial captcha graph store cache dynamic image generation gd tutorial captcha graph store cache


blog comments powered by Disqus

Similar Posts

DevShed: Using Advanced Functions to Maintain the State of Applications with PHP Sessions

NETTUTS.com: Introducing WordPress 3 Custom Taxonomies

Rob Allen's Blog: What problem does dependency injection solve?

Frikk.tk: How to make your own CAPTCHA protection using PHP

Pádraic Brady's Blog:Doing that thing called PEAR - Packaging Source Code for PEAR Distribution


Community Events

Don't see your event here?
Let us know!


language podcast release library middleware unittest series community conference voicesoftheelephpant interview development extension opinion laravel laravel5 api wordpress introduction framework

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework