News Feed
Jobs Feed
Sections




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

DevShed:
Developing a Captcha Application with an Image Generator Class with PHP 5
October 03, 2007 @ 12:58:00

DevShed has posted the next (and last) part of their series on image generation with PHP, creating a class to handle most of the work for you and implement the graphics functionality (GD) PHP has built in. This time, they take things a step further and use the class they've created so far to make CAPTCHA images for a site.

In this last article of the series I'm going to show you how to couple this class with a simple randomizer mechanism to implement a basic yet effective application that will be capable of outputting on the browser different random strings, which will be previously embedded into a predefined image stream.

They start with their previous version of the class and work off of it, extending its functionality to add a multi-call ability and to hook into a RandomGenerator class to create the string.

0 comments voice your opinion now!
php5 tutorial image generator captcha random string php5 tutorial image generator captcha random string


blog comments powered by Disqus

Similar Posts

Michael Kimsal's Blog: PHP Prediction

DevShed: An Image is Worth a Thousand Words in PHP (Part 2)

DevShed: Parsing Web Document Nodes with the Tidy Library in PHP 5

PHPMaster.com: Crop and Resize Images with ImageMagick

DevShed: Parsing Web Document Nodes with the Tidy Library in PHP 5


Community Events











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


hack unittest opinion install package language database release security series hhvm symfony2 introduction performance framework component composer facebook podcast application

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