This class can be used to retrieve and process request values from super-global variables.
It can retrieve request values from $_ENV, $_GET, $_POST, $_COOKIE, $_SERVER, $_REQUEST and convert the values to several data types: integer, boolean, strings, float.
The class can also retrieve request headers from $_SERVER variables with names that start with HTTP_ .
The class may also escape values for use in HTML pages to avoid cross-site scripting attacks, as well remove slashes from the values when magic quotes option is on. |