News Feed
Sections




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

DevShed:
Using Filters in PHP 5
July 16, 2009 @ 07:59:04

DevShed has posted a new tutorial today (the start of a series) looking at using the filtering extension that comes native with PHP5 versions to clean up any data the user might give you.

Definitely, one of the most common tasks that PHP programmers have to tackle during the development of web applications is validating user-supplied data. [...] The use of native PHP filters may contribute significantly to saving time and effort when it comes to validating input data. In this series of articles I'm going to attempt to provide you with a concise guide to how to use them, as usual by way of a decent variety of code samples.

He starts off by looking at some of the filters that are available and show how to use one of them in a specific example - checking for integer values in a given input string.

0 comments voice your opinion now!
native extension tutorial filter


blog comments powered by Disqus

Similar Posts

The Bakery: Four New Articles - Load Balancing, Request Info, UUID Behavior & Upload Thumbnails

SitePoint PHP Blog: Developing PHP Extensions with C++ and PHP-CPP: Advanced

PHPMaster.com: PHP DOM: Using XPath

IBM developerWorks: Java and PHP technology on AIX - Integrate the Java business application w/ DB2

Ryan Mauger's Blog: Keeping your html valid with Zend Framework, Tidy and Firebug


Community Events

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


release opinion conference api language podcast application laravel library configure framework symfony2 example community php7 install interview series introduction performance

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