input_get -- Gets variable from outside PHP and optionally filters it
Description
mixed input_get ( int type, string variable_name [, int filter [, mixed flags [, string charset]]] )
Warning
This function is
EXPERIMENTAL. The behaviour of this function, the
name of this function, and anything else documented about this
function may change without notice in a future release of PHP.
Use this function at your own risk.
Parameters
type
One of INPUT_GET, INPUT_POST,
INPUT_COOKIE, INPUT_SERVER,
INPUT_ENV, INPUT_SESSION (not
implemented yet) and 99 (serves for REQUEST for now).
variable_name
Name of a variable to get.
filter
Filter to apply. Defaults to FILTER_DEFAULT.
flags
Associative array of options or bitwise disjunction of flags. If filter
accepts options, flags can be provided in "flags" field of array.
charset
Character set used for filtering. Currently no filter uses this
parameter.
Return Values
Value of the requested variable on success or FALSE if variable has not
been found.