Categories

How to display custom error message in Zend Captcha

Share

The client recently requested to change the text of the default Zend CAPTCHA error message to just Incorrect Code when a visitor tries to submit the form without entering the CAPTCHA code in the input box beneath the image. That was pretty easy enough as Zend provides you the option to override the default [...]

How to verify email address using the Zend Email Validator

Share

Zend framework provides some nice validators to validate the data input by your visitor/customer. If you want you can write your own custom validator and use it in your code. The one I would like to discuss today is the Zend Email Validator which is really wonderful in that you don’t need to write [...]

How to allow access to authorized members in Zend using Zend_Session_Namespace

Share

You can maintain and manage sessions and cookies in Zend framework just like you can do in normal PHP code or any other language/framework. Zend provides the Zend_Session_Namespace which allows you to create and manage sessions. Once you have created a session variable you can then use it to authorize a user’s access to [...]