我的是这样的 ...array(28) {
["HTTP_ACCEPT_LANGUAGE"]=>
string(5) "zh-cn"
["HTTP_ACCEPT_ENCODING"]=>
string(13) "gzip, deflate"
["HTTP_USER_AGENT"]=>
string(124) "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_4_11; zh-cn) AppleWebKit/525.18 (KHTML, like Gecko) Version/3.1.2 Safari/525.22"
["HTTP_IF_MODIFIED_SINCE"]=>
string(29) "Wed, 30 Jul 2008 07:18:09 GMT"
["HTTP_ACCEPT"]=>
string(99) "text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
["HTTP_CONNECTION"]=>
string(10) "keep-alive"
["HTTP_HOST"]=>
string(9) "localhost"
["PATH"]=>
string(29) "/bin:/sbin:/usr/bin:/usr/sbin"
["SERVER_SIGNATURE"]=>
string(0) ""
["SERVER_SOFTWARE"]=>
string(29) "Apache/2.2.8 (Unix) PHP/5.2.6"
["SERVER_NAME"]=>
string(9) "localhost"
["SERVER_ADDR"]=>
string(3) "::1"
["SERVER_PORT"]=>
string(2) "80"
["REMOTE_ADDR"]=>
string(3) "::1"
["DOCUMENT_ROOT"]=>
string(29) "/Users/Sunyanzi/Sites/default"
["SERVER_ADMIN"]=>
string(15) "you@example.com"
["SCRIPT_FILENAME"]=>
string(38) "/Users/Sunyanzi/Sites/default/server_dump.php"
["REMOTE_PORT"]=>
string(5) "50643"
["GATEWAY_INTERFACE"]=>
string(7) "CGI/1.1"
["SERVER_PROTOCOL"]=>
string(8) "HTTP/1.1"
["REQUEST_METHOD"]=>
string(3) "GET"
["QUERY_STRING"]=>
string(0) ""
["REQUEST_URI"]=>
string(9) "/server_dump.php"
["SCRIPT_NAME"]=>
string(9) "/server_dump.php"
["PHP_SELF"]=>
string(9) "/server_dump.php"
["REQUEST_TIME"]=>
int(1217405854)
["argv"]=>
array(0) {
}
["argc"]=>
int(0)
}
复制代码 话说你有什么不明白 ..? |