PHP Classes

Filter: Filter request input data

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 37%Total: 1,116 All time: 3,360 This week: 325Up
Version License PHP version Categories
filter 0.2GNU General Publi...5HTTP, PHP 5, Validation
Description Author

This class can be used to filter request input data.

It can process request data from POST, GET, REQUEST and COOKIE values and verify if it matches given type rules. If the values satisfy the rules, they are copied to array class variable.

Currently it supports filtering rules for integers, strings, booleans, dates, times, timestamps, e-mail addresses, web adresses and phone numbers.

Picture of Andrey Nikishaev
Name: Andrey Nikishaev is available for providing paid consulting. Contact Andrey Nikishaev .
Classes: 13 packages by
Country: Ukraine Ukraine
Age: 36
All time rank: 2556 in Ukraine Ukraine
Week rank: 587 Down8 in Ukraine Ukraine Down
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example example
Plain text file filter_class.php Class class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,116
This week:0
All time:3,360
This week:325Up
User Ratings User Comments (1)
 All time
Utility:50%StarStarStar
Consistency:66%StarStarStarStar
Documentation:-
Examples:58%StarStarStar
Tests:-
Videos:-
Overall:37%StarStar
Rank:3142
 
if you validate with this class.
11 years ago (keran)
25%StarStar