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 protecting your site done. It is one thing to assume everybody is just nice, [...]
Posts Tagged ‘Filters’
No-MVC Zend Framework: Filter Zend_Form input with HtmlPurifier
Posted: 8th February 2011 by admin in Zend FrameworkTags: Filters, HTMLPurifier, PHP, XSS-prevention on forms, Zend Framework, Zend_Filter, Zend_Form
0
No-MVC Zend Framework: Zend_Forms, Decorator, Validator and Filters
Posted: 5th February 2011 by admin in Zend FrameworkTags: autoloader, bootstrap, Controller, Decorators, Filters, MVC, PHP, View, YAML, Zend Framework, Zend_Form
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 easy way to handle all kinds of user input thru forms, [...]