PHP Classes

Validation Class: Validate submitted form request values

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 749 All time: 4,486 This week: 59Up
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: 39
All time rank: 166015 in Egypt Egypt
Week rank: 180 Up4 in Egypt Egypt Up

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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:749
This week:0
All time:4,486
This week:59Up
User Comments (1)