News Feed
Sections




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

DevShed:
A PHP Validation Helper Class in Action
September 01, 2009 @ 07:55:36

DevShed has posted the next to last article in their validation helper series - a look at the full validation class in action checking various kinds of user input.

The functionality of each method of this class was based mostly on PHP filters, since this extension not only permits you to perform a decent validation on incoming data, but it makes this a no-brainer process. [...] In this tutorial I'm going to develop some basic examples that will illustrate the real capabilities of the class for verifying all the types of data mentioned above.

They include sample code checking two main kinds of user data - integers and floats and alphabetic/alphanumeric values as well as IP addresses, emails and URLs.

0 comments voice your opinion now!
validation tutorial


blog comments powered by Disqus

Similar Posts

Bill's IIS Blog: PHP on IIS7 w/FastCGI

DevShed: Creating a Blog Application with Interpreter Classes with PHP 5

PHPit.net: PHP5 Class Basics, Part 1

NETTUTS.com: 20 Steps to a Flexible and Secure WordPress Installation

Benjamin Eberlei's Blog: Using a Dependency Injection Container with Zend_Application


Community Events





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


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

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