Validation Class

Package:
Validation Class
Summary:
Validate submitted form request values
Groups:
Hatem, PHP 5, Validation
Author:
Hatem Mohamed
Description:
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.


Powered by Gewgley