No-MVC Zend Framework: Filter Zend_Form input with HtmlPurifier

As my favorite Zend Framework guru Padraic Brady pointet out on his blog, most forms are just about an invitation for hackers and other subversive folks to (ab)use your forms, and PHPs „addslashes“ or „striptags“ just don´t get the job of...

No-MVC Zend Framework: Zend_Decorator and Zend_Validator

In the last article, we have already set some basic decorators for Zend_Form. The next one is a decorator for the label, appending an asterisk (*) to labels of required fields, and display error messages below the label instead of the field. In your „Form“...

No-MVC Zend Framework: Zend_Forms, Decorator, Validator and Filters

Managing Zend_Form in both MVC and no-MVC environments has a huge advantage, since Zend Framework comes with a load of decorators (HTML to display form fields), validators (functions to check user input) and filters (functions to filter user input). If you look for an...