param
Package:
Summary:
Validate and filter request values
Groups:
Author:
Description:
This class can be used to validate and filter request values.
It can take given POST or GET request values and validate them according to the expected type of the value. The types may be scalar, arrays or objects in JSON format.
The class can also filter values with a maximum length and discard values that seem to be used for SQL injection attempts.
The class can assume a default value for missing or invalid request values.
It can take given POST or GET request values and validate them according to the expected type of the value. The types may be scalar, arrays or objects in JSON format.
The class can also filter values with a maximum length and discard values that seem to be used for SQL injection attempts.
The class can assume a default value for missing or invalid request values.
Comments are closed.