Login   Register  
PHP Classes
elePHPant
Icontem

Validate String

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Sven Wagener  >  Validate String  >  Download .tar.gz .zip  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Validate String
Base name: validate
Description: This class validate string types (urls,email, ...)
Related classes: , , , , , , ,
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 3297 users
All time rank: 882
Week users: 3 users
Week rank: 1179
 

  Author  
Picture of Sven Wagener
Name: Sven Wagener <e-mail contact>
Packages: 10 Browse all classes by Sven Wagener Browse all classes by
Country: Germany Germany - PHP jobs in Germany
Age: 32
All time rank: 131 in Germany Germany
Week rank: 74 Down6 in Germany Germany Down


  Detailed description  
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!

  Groups   Rate classes User ratings   Applications   Related links   Files Files  

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


  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Sufficient (62.5%)
Sufficient (75.0%)
-
Sufficient (62.5%)
-
-
Not sure (45.0%)
1779
Month:
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.

  Related links  
Link Description
php.net ereg function Here you can find out how to use regular expressions

  Files folder image Files  
File Role Description
Plain text file examles_validate_class.php Example Example Script for validation class
Accessible without login Plain text file validate.class.php Class The main validation class

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