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

NetTuts.com: The Ins and Outs of PHP Exceptions

DevShed: Validating Boolean Values and Float Numbers with Filters in PHP 5

CloudSpring.com: Using the Rackspace PHP SDK

Fortrabbit.com: Integrating Codeship with Fortrabbit

DevShed: Filtering Image Streams with the GD Library in PHP


Community Events





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


unittest community testing framework threedevsandamaybe install laravel configure list interview wordpress developer series opinion language release code podcast introduction refactor

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