Validate String: This class validate string types (urls,email, ...)

Recommend this page to a friend!
  Info   View files (2)   Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
45%Total: 3,451 All time: 980 This week: 259
Version License Categories
validate 1.0GNU General Publi...Text processing
Description Author

Validation class for validation of misc strings.
Ideal to validate form data.
Yet it can validate the following string types:

- alphabetical
- alphabetical lowercase
- alphabetical uppercase
- numerical
- alphanumerical
- postcodes for:

austria
australia
germany
estonia
netherlands
italy
sweden
united kingdom
united states
- email
- url
- ip address

I would be pleased, if anybody can give me the ereg patterns for other countries! Please mail me and I'll add the country to the country array!

Picture of Sven Wagener
Name: Sven Wagener <contact>
Classes: 10 packages by
Country: Germany Germany
Age: 40
All time rank: 131 in Germany Germany
Week rank: 713 32 in Germany Germany

  Files  
File Role Description
examles_validate_class.php Example Example Script for validation class
validate.class.php Class The main validation class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:3,451
This week:0
All time:980
This week:259
 User Ratings  
 
 All time
Utility:62%
Consistency:75%
Documentation:-
Examples:62%
Tests:-
Videos:-
Overall:45%
Rank:2727
  

For more information send a message to info at phpclasses dot org.