HTTP: Filter
Andrey Nikishaev (contact me)
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.
Click here for detailed information about this class on phpclasses.org