Get variables passed by GET or POST method
Comment by Taiwen Jiang (a.k.a. phppp): THE METHOD IS NOT COMPLETE AND NOT SAFE. YOU ARE ENCOURAGED TO USE PHP'S NATIVE FILTER_VAR OR FILTER_INPUT FUNCTIONS DIRECTLY BEFORE WE MIGRATE TO XOOPS 3.
Parameters | |||
---|---|---|---|
|
&$global |
# | |
|
$key |
# | |
string
|
$default = '' |
# | |
string
|
$type = 'int' |
# |
Returns | |
---|---|
int|mixed|string
|