News Feed
Sections




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

Robert Basic's Blog:
Data filtering with PHP's Filter extension
December 16, 2008 @ 11:17:44

Robert Basic has a new blog post looking at the filtering extension included with most PHP5 distributions.

Filter extension? Maybe it's nothing new for some of you, but it is for me. I've never heard of it before. So I quickly hopped over to PHP.net and the Filter chapter of the manual.

The filter extension (included as of PHP 5.2) helps clean up and validate user input - really any input - like number matching, regular expressions and email addresses. He includes some examples of filtering strings, email and integers as well as ways to sanitize the same strings, ensuring they are valid and clean values.

0 comments voice your opinion now!
filter extension tutorial php5 validate sanitize


blog comments powered by Disqus

Similar Posts

Pablo Viquez' Blog: How to use json_encode with ISO-8859-1 data – Part2

Rob Allen's Blog: Unit testing Zend Framework 1

Klaus Graefensteiner's Blog: Getting Wordpress installed in a jiffy on Windows 7 using the WPI

PHPMaster.com: Proc_Open: Communicate with the Outside World

Zurab Davitiani: PHP Sessions in Erlang Mnesia


Community Events





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


library community voicesoftheelephpant language zendserver release deployment conference bugfix podcast symfony introduction developer laravel series tips list interview framework api

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