var_dump($_server['request_uri']);
var_dump($this->request->getrequesttype());
var_dump($this->request->getisajaxrequest());
//打印信息
string(87) /oms07/index.php?r=preshow/searchfails&idcname=jx&fromtime=2012-02-29&totime=2012-02-29
string(3) get
bool(false)
php provides a large number of predefined variables to all scripts. the variables represent everything from external variables to built-in environment variables, last error messages to last retrieved headers.
superglobals ― superglobals are built-in variables that are always available in all scopes
$globals ― references all variables available in global scope
$_server ― server and execution environment information
$_get ― http get variables
$_post ― http post variables
$_files ― http file upload variables
$_request ― http request variables
$_session ― session variables
$_env ― environment variables
$_cookie ― http cookies
$php_errormsg ― the previous error message
$http_raw_post_data ― raw post data
$http_response_header ― http response headers
$argc ― the number of arguments passed to script
$argv ― array of arguments passed to script
