Login   Register  
PHP Classes
elePHPant
Icontem

Validator Class

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Stefan Ihringer
Name: Stefan Ihringer <e-mail contact>
Packages: 2 Browse all classes by Stefan Ihringer Browse all classes by
Country: Germany Germany - PHP jobs in Germany
Age: 34
All time rank: 70350 in Germany Germany
Week rank: 1467 Down80 in Germany Germany Down


  Detailed description   Download .zip .tar.gz  
This class is meant to validate page request values eventually submitted using forms via POST or GET HTTP methods.

The class provides functions that retrieve values submitted in a request variable of a given name and then performs the specified type of validation.

The class provides many built-in types of validation like: is it a valid number, integer, boolean, name of variable, it contains only letters, is it a valid e-mail adress, is it an integer within a given range, or even determine if it is a valid URL by trying to access it.

The class also lets the developers choose its behavior when the value being validated is invalid. The validation functions may return either an empty string, null, zero, or any other default value.

  Classes of Stefan Ihringer  >  Validator Class  >  Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Validator Class
Base name: validatorclass
Description: Validate values reverting to defaults when invalid
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 1926 users
All time rank: 1830
Week users: 1 user
Week rank: 2089 Down
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image Text processing Manipulating and validating text data View top rated classes
Group folder image Validation Validation algorithms View top rated classes


  User ratings  
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file validator.class.php Class main class file + documentation
Accessible without login Plain text file validatortest.php Example example script

Download all files: validatorclass.tar.gz validatorclass.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.