PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2008-09-15 (8 years ago) RSS 2.0 feedStarStar 37%Total: 1,106 All time: 3,280 This week: 961Up
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 <contact>
Classes: 13 packages by
Country: Ukraine Ukraine
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,106
This week:0
All time:3,280
This week:961Up
User Ratings User Comments (1)
 All time
Utility:50%StarStarStar
Consistency:66%StarStarStarStar
Documentation:-
Examples:58%StarStarStar
Tests:-
Videos:-
Overall:37%StarStar
Rank:2768
 
if you validate with this class.
5 years ago (keran)
25%StarStar