News Feed
Jobs Feed
Sections




News Archive
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

Sameer Borate's Blog: Generating a color palette from a image in php

Mikko Koppanen's Blog: Fill patterns

Elated.com: Object-Oriented PHP: Autoloading, Serializing, and Querying Objects

IBM developerWorks: Integrate your PHP application with Google Calendar

DevShed: Handling Views with CodeIgniter


Community Events











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


object tool series introduction community opinion unittest code release conference example language testing development functional interview podcast zendframework2 framework phpunit

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