News Feed
Sections




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

Sankho Mallik's Blog:
Tutorial Using Zend_Captcha_Image
December 19, 2008 @ 13:36:18

In a recent post to his blog Sankho Mallik has posted a quick tutorial on using the Zend_Captcha component of the Zend Framework in your forms.

Zend Framework has a set of great classes included to take away a lot of the headaches involved with setting up a CAPTCHA system. The one I use is Zend_Captcha_Image, which creates an image for you and sets up a Session so you will be able to validate all information appropriately. Problem is, there's little documentation out there on this. [...] I'll show you everything you need to know to use Zend_Captcha_Image WITHOUT Zend_Form! If you'd like to learn the implementation using Zend_Form, please visit Robert Basic's Blog.

He follows the steps you'll need to get the component set up - checking for GD installation, making the CAPTCHA image folder - and includes some sample code in the form of a generateCaptcha and validateCaptcha methods to make it all work.

0 comments voice your opinion now!
tutorial zendcaptcha zendframework component captcha image


blog comments powered by Disqus

Similar Posts

Stefan Mischook's Blog: Turning on display_errors in WAMP - Video Tutorial

Zend Developer Zone: Using Zend_Feed to Merge Multiple RSS Feeds

Lorna Mitchell's Blog: Status Codes for Web Services

Rob Allen's Blog: Zend Framework Tutorial Zip File Updated

Community News: PRADO Watch Blog Launched


Community Events

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


unittest language series laravel voicesoftheelephpant wordpress framework php7 api opinion release library podcast interview community introduction version extension list laravel5

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