News Feed
Sections




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

Zend Developer Zone:
PHP Built in Input filtering
October 31, 2006 @ 12:51:00

The Zend Developer Zone has a new tutorial posted today by Pierre dealing with one of the things becoming (and should have always been) important to PHP developers - filtering input. Specifically, it deals with using the Filter extension built into PHP 5 to take care of anything malicious or incorrect that the user might throw at the application.

Security becomes the top priority (or activity) of many PHP developers. Its place and importance keeps growing in every single project, open source or commercial. Every conference provides a talk about security and you can read PHP security on the magazine cover pages.

The article is broken down into different sections, including:

  • Don't trust external data
  • Why Filter?
  • How does it work?
  • Prerequises/Installation/Considerations
And, of course, what would a tutorial be without some examples. Pierre shows a simple form that filters, a sanitizing form, and some more complex processing using a callback.

0 comments voice your opinion now!
tutorial input filtering extension php5 example tutorial input filtering extension php5 example


blog comments powered by Disqus

Similar Posts

PHPMaster.com: Regular Expressions

Zend Developer Zone: PHP Abstract Podcast Episode 27: Introducing PECL Picks

PHPMaster.com: Array Handling Functions

Brian Cline's Blog: Installing PHPUnit on WAMPServer

Pierre-Alain Joye's Blog: ext/filter, API frozen (!) and fixes, 0.11.0 is out


Community Events

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


api laravel conference library xdebug version performance introduction extension opinion release example series community php7 framework symfony2 podcast voicesoftheelephpant interview

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