PHP Classes

Validation Class: Validate submitted form request values

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2010-05-17 (5 years ago) RSS 2.0 feedNot enough user ratingsTotal: 731 All time: 4,299 This week: 1,107Up
Version License PHP version Categories  
validation-class 1.0Artistic License5.0PHP 5, Validation
Description Author  

This class can be used to validate submitted form request values.

It can take an array of values for validation eventually from $_POST or $_GET arrays.

The class can validate each entry in the array according to previously added rules.

Currently it supports rules to check if a value is set, is a valid IP address, is valid number, is a string with a length range, is valid URL, or is valid e-mail address.

The class can also sanitize the passed values and return the sanitized results in an array.

Picture of Hatem Mohamed
Name: Hatem Mohamed <contact>
Classes: 3 packages by
Country: Egypt Egypt
Age: 30
All time rank: 159814 in Egypt Egypt
Week rank: 898 Up14 in Egypt Egypt Equal

  Files folder image Files  
File Role Description
Accessible without login Plain text file Example.php Example Example Usage
Plain text file Validation.class Class Validation

 Version Control Unique User Downloads Download Rankings  
 0%Total:731All time:4,299
 This week:0This week:1,107Up
 User Comments (1)