Login   Register  
PHP Classes
elePHPant
Icontem

Validator4Fields: Validate values against several types of rules

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-11-23 (7 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 658 All time: 4,419 This week: 1,412Up
Version License Categories  
validator_class 1.0Artistic LicenseValidation
Description Author  
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.
Picture of Josť Augusto Ferreira Franco
Name: Josť Augusto Ferreira ... <contact>
Classes: 15 packages by
Country: Portugal Portugal
Age: 36
All time rank: 1003 in Portugal Portugal
Week rank: 173 Down4 in Portugal Portugal Down
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file Validator4Fields Class Main class
Accessible without login Plain text file test_validator_4fields Example Test script

 Version Control Unique User Downloads Download Rankings  
 0%Total:658All time:4,419
 This week:0This week:1,412Up