Login   Register  
PHP Classes
elePHPant
Icontem

Class: Validator4Fields

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of José Augusto Ferreira Franco  >  Validator4Fields  >  Download .tar.gz .zip  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Validator4Fields
Base name: validator_class
Description: Validate values against several types of rules
Related classes: , , , ,
Version: -
PHP version: -
License: Artistic License
All time users: 642 users
All time rank: 3954
Week users: 1 user
Week rank: 2467
Picture of José Augusto Ferreira Franco
Author: José Augusto Ferreira Franco <e-mail contact>
Packages: 15 Browse this author's classes Browse this author's classes
Country: Portugal Portugal - PHP jobs in Portugal
Age: 34
All time rank: 1033 in Portugal Portugal
Week rank: 115 Down4 in Portugal Portugal Down
Innovation award
Innovation award
Nominee: 1x


  Detailed description  
This class can validate values against several types of rules.

It can check an associative array of string values to verify whether a given set of rules.

Currently it can perform the following checks:

- Empty strings
- E-mail address
- String with spaces
- URL
- Secure password
- String length limit
- String with bad words

If there are any invalid values, the class output HTML with Javascript opens an alert window with the error message. Currently it displays error messages in Portuguese.

 

  Groups  
Group folder image Validation Validation algorithms View top rated classes

  Rate classes User ratings   Applications   Files Files  

  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 Validator4Fields Class Main class
Plain text file test_validator_4fields Example Test script

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