Login   Register  
PHP Classes
elePHPant
Icontem

Request filter: Filter script request values according to 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 (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2005-03-02 (9 years ago) RSS 2.0 feedNot enough user ratingsTotal: 876 All time: 3,724 This week: 1,557Up
Version License Categories  
class_filter 1.0GNU Lesser General Publ...HTTP, Text processing
Description Author  

This class can apply given filter rules to the script request values such as those passed via GET or POST HTTP methods.

Currently the class supports rules that specify filters to accept only values that can be strings or integers or do not exceed a given limit.

The request values that do not conform to the filter rules can be discarded, so it just keeps the values that are considered valid.

Picture of badrus said
Name: badrus said <contact>
Classes: 2 packages by
Country: Indonesia Indonesia
Age: 32
All time rank: 101114 in Indonesia Indonesia
Week rank: 1754 Down28 in Indonesia Indonesia Down

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

 Version Control Unique User Downloads Download Rankings  
 0%Total:876All time:3,724
 This week:0This week:1,557Up
 User Comments (1)  
 
Excellent
5 years ago (kishore kumar)
70%StarStarStarStar