PHP Classes

Filter: Filter request input data

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 36%Total: 1,118 All time: 3,369 This week: 455Up
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 (2)  
File Role Description
Accessible without login Plain text file example.php Example example
Plain text file filter_class.php Class class

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,118
This week:0
All time:3,369
This week:455Up
User Ratings User Comments (1)
 All time
Utility:50%StarStarStar
Consistency:62%StarStarStarStar
Documentation:-
Examples:56%StarStarStar
Tests:-
Videos:-
Overall:36%StarStar
Rank:4071
 
if you validate with this class.
14 years ago (keran)
25%StarStar