News Feed
Sections




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

WebReference.com:
Data Filtering
June 25, 2009 @ 10:21:33

WebReference.com has posted a new tutorial looking at filtering data (user input or otherwise) in your PHP applications:

In this article, we will be exploring some of the many data filters that are offered by PHP. These functions are available since PHP 5, and no extension installation is required since it is part of PHP 5's core. We will also be looking at what data filtering is and why it should be used in web applications.

The tutorial covers the safe filtering of the superglobals (possible user input) and using functions like mysql_real_escape_string and the filter extension to do it. Some sample code is included to show you how to both filter and evaluate the incoming data to ensure it's valid.

0 comments voice your opinion now!
tutorial extension filter data


blog comments powered by Disqus

Similar Posts

Lorna Mitchell's Blog: Installing Gearman for PHP and Ubuntu

Kapustabrothers.com: Indexing PDF Documents with Zend_Search_Lucene

Rob Allen's Blog: A Tutorial Update & Extending ViewRenderer to Support Layout Templates

Pádraic Brady's Blog: Complex Views with the Zend Framework - Part 3: Composite View Pattern

SANIsoft Blog: The longer Lithium Blog tutorial using MySQL – Part 1


Community Events





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


library language introduction community wordpress application list interview release code threedevsandamaybe series developer laravel project framework bugfix podcast api configure

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