posts - 82, comments - 269, trackbacks - 0, articles - 1
  BlogJava :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理

一个$_SERVER变量的实例

Posted on 2007-10-08 21:58 itspy 阅读(646) 评论(0)  编辑  收藏

Array (
[HTTP_HOST] => localhost
[HTTP_USER_AGENT] => Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6
[HTTP_ACCEPT] => text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 [HTTP_ACCEPT_LANGUAGE] => en-gb,en;q=0.5
[HTTP_ACCEPT_ENCODING] => gzip,deflate
[HTTP_ACCEPT_CHARSET] => ISO-8859-1,utf-8;q=0.7,*;q=0.7
[HTTP_KEEP_ALIVE] => 300 [HTTP_CONNECTION] => keep-alive
[HTTP_COOKIE] => UserID=8; Firstname=8firest; Role=manager; Lastname=last; UserEmail=8lilxxxo%40163.com; PHPSESSID=pv6vl4b982in3bi2cuefsc7551
[HTTP_CACHE_CONTROL] => max-age=0
[PATH] => d:\PHP\;d:\ruby\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;D:\Program Files\Batch;d:\Program Files\MySQL\MySQL Server 5.0\bin;C:\Program Files\Common Files\Adobe\AGL
[SystemRoot] => C:\WINDOWS
[COMSPEC] => C:\WINDOWS\system32\cmd.exe
[PATHEXT] => .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.RB;.RBW
[WINDIR] => C:\WINDOWS
[SERVER_SIGNATURE] =>
[SERVER_SOFTWARE] => Apache/2.2.4 (Win32) PHP/5.2.3
[SERVER_NAME] => localhost
[SERVER_ADDR] => 127.0.0.1
[SERVER_PORT] => 80
[REMOTE_ADDR] => 127.0.0.1
[DOCUMENT_ROOT] => D:/wwwroot/
[SERVER_ADMIN] => admin@domain
[SCRIPT_FILENAME] => D:/wwwroot/primera/test.php
[REMOTE_PORT] => 1250
[GATEWAY_INTERFACE] => CGI/1.1
[SERVER_PROTOCOL] => HTTP/1.1
[REQUEST_METHOD] => GET
[QUERY_STRING] =>
[REQUEST_URI] => /primera/test.php
[SCRIPT_NAME] => /primera/test.php
[PHP_SELF] => /primera/test.php
[REQUEST_TIME] => 1191851553

)


只有注册用户登录后才能发表评论。


网站导航: