News Feed
Jobs Feed
Sections




News Archive
DevShed:
Building a More Capable Validation Helper Class
August 24, 2009 @ 13:16:47

DevShed continues their series on helpers classes in PHP applications with the sixth part of the series focusing on updates to their Validation class to add additional format checks.

It would be really useful to add more methods to it to validate other things, like email and IP addresses, to mention just two examples. Thus, in the next few lines I'm going to extend the abilities of this helper class so it can be used to perform the validation processes mentioned above.

They include the code that lets you validate URLs, IP addresses and email addresses for correctness via PHP's filter_var function.

0 comments voice your opinion now!
validation helper class tutorial


blog comments powered by Disqus

Similar Posts

Matthew Weir O'Phinney's Blog: Cgiapp2 Tutorial 2 - Pluggable Applications

Devshed: A Login System for a PHP Email Application

The Bakery: 11 New Posts of CakePHP Goodness

Madarco's DevBlog: Using Zend_Tool in Eclipse

Shameer's Blog: An Introduction to Smarty 3


Community Events











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


development functional framework community series testing zendframework2 release language api introduction database opinion interview podcast phpunit code unittest composer example

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