示例:
SERVER_SOFTWARE=EasyWebServer/1.9 SERVER_PROTOCOL=HTTP/1.1 SERVER_PORT=80 SERVER_NAME=aozima-notebook REMOTE_ADDR=127.0.0.1 GATEWAY_INTERFACE=CGI/1.1 DOCUMENT_ROOT=E:\webroot SCRIPT_NAME=/cgi-bin/dump.exe REQUEST_METHOD=GET QUERY_STRING=get1=1&get2=2 CONTENT_LENGTH=0 HTTP_COOKIE=SESSIONID=00000000 HTTP_USER_AGENT=Mozilla/5.0 (WindowsNT 6.1; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0 HTTP_HOST=127.0.0.1 PATH_TRANSLATED=E:\EasyWebServer REDIRECT_STATUS=200
详解
SERVER_SOFTWARE
SERVER_PROTOCOL
SERVER_PORT
SERVER_NAME
REMOTE_ADDR
GATEWAY_INTERFACE
DOCUMENT_ROOT
SCRIPT_NAME
REQUEST_METHOD
QUERY_STRING
CONTENT_LENGTH
HTTP_COOKIE
HTTP_USER_AGENT
HTTP_HOST
PATH_TRANSLATED
REDIRECT_STATUS
时间: 2024-11-05 11:34:06