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

AnyExample.com: Downloading files from Amazon S3

David Coallier's Blog: Installing PHP6 (For beginners)

Inside Open Source: Two New Articles (Date/Time & Services_Google)

DevShed: Building Object-Oriented Web Pages with Inheritance in PHP 5

Thomas Weinert's Blog: Using PHP DOM With XPath


Community Events





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


install voicesoftheelephpant opinion community tips bugfix framework list deployment interview series library package introduction symfony podcast api laravel language release

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