$_SERVER参数详情

日期:2018-12-20 浏览:392次

展示网址:http://www.test.com/index.php/index/index/test_TWO.html(本地测试的虚拟站点)

PHP_SELF /index.php/index/index/test_TWO.html
argv
argc
GATEWAY_INTERFACE CGI/1.1
SERVER_ADDR 127.0.0.1
SERVER_NAME www.test.com
SERVER_SOFTWARE Apache/2.4.23 (Win32) OpenSSL/1.0.2j mod_fcgid/2.3.9
SERVER_PROTOCOL HTTP/1.1
REQUEST_METHOD GET
REQUEST_TIME 1545289058
REQUEST_TIME_FLOAT 1545289058.262
QUERY_STRING
DOCUMENT_ROOT D:/phpstudy/PHPTutorial/WWW/test/public
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
HTTP_ACCEPT_CHARSET
HTTP_ACCEPT_ENCODING gzip, deflate
HTTP_ACCEPT_LANGUAGE zh-CN,zh;q=0.9
HTTP_CONNECTION close
HTTP_HOST www.test.com
HTTP_REFERER
HTTP_USER_AGENT Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36
HTTPS
REMOTE_ADDR 127.0.0.1
REMOTE_HOST
REMOTE_PORT 54904
REMOTE_USER
REDIRECT_REMOTE_USER
SCRIPT_FILENAME D:/phpstudy/PHPTutorial/WWW/test/public/index.php
SERVER_ADMIN admin@php.cn
SERVER_PORT 80
SERVER_SIGNATURE
PATH_TRANSLATED redirect:\index.php\index\index\test_TWO.html\index\test_TWO.html
SCRIPT_NAME /index.php
REQUEST_URI /index.php/index/index/test_TWO.html
PHP_AUTH_DIGEST
PHP_AUTH_USER
PHP_AUTH_PW
AUTH_TYPE
PATH_INFO /index/index/test_TWO.html
ORIG_PATH_INFO

没有评论

发表评论