获取$_GET数据
// 获取原始数据
$get_array = HttpIO::GET(null,HttpIO::PARAM_TYPE_OLDDATA);
// 获取原始数据为URL格式
$url = HttpIO::GET('url',HttpIO::PARAM_TYPE_URL);
null Core_HttpIO::GET( [ string $key = null , string $type = null ] )
参数列表
参数 类型 描述 默认值 $key
string
$key null $type
string
返回类型,false或不传,则返回原始数据 例:HttpIO::PARAM_TYPE_URL null
public static function GET($key = null, $type = null)
{
return HttpIO::_get_format_data('_GET', $key, $type);
}