//请求内容长度
CONTENT_LENGTH:“7”
//请求内容类型
CONTENT_TYPE:“application/x-www-form-urlencoded;charset=UTF-8”
//根目录
DOCUMENT_ROOT:"/home/vagrant/Code/web"
//脚本名称
DOCUMENT_URI:"/fetch/data.php"
//cgi规则
FCGI_ROLE:“RESPONDER”
//接口版本
GATEWAY_INTERFACE:“CGI/1.1”
//启动用户家目录
HOME:"/home/vagrant"
USER:“vagrant”
//HTTP头信息
HTTP_ACCEPT:"*/*"
HTTP_ACCEPT_ENCODING:“gzip, deflate”
HTTP_ACCEPT_LANGUAGE:“zh-CN,zh;q=0.8,en;q=0.6,zh-TW;q=0.4”
HTTP_CACHE_CONTROL:“no-cache”
HTTP_CONNECTION:“keep-alive”
HTTP_CONTENT_LENGTH:“7”
HTTP_CONTENT_TYPE:“application/x-www-form-urlencoded;charset=UTF-8”
HTTP_HOST:“www.xxx.com”
HTTP_ORIGIN:“http://www.xxx.com”
HTTP_PRAGMA:“no-cache”
HTTP_REFERER:" http://web.l.org/fetch/"
HTTP_USER_AGENT:“Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36”
//PHP发现的,自己运行的脚本文件
PHP_SELF:"/fetch/data.php"
//请求类型
REQUEST_METHOD:“POST”
//url中 ? 后面的
QUERY_STRING:""
//重写状态(nginx重写过)
REDIRECT_STATUS:“200”
//远程IP
REMOTE_ADDR:“192.168.10.1”
//远程端口
REMOTE_PORT:“57455”
//服务器IP
SERVER_ADDR:“192.168.10.10”
//服务器端口
SERVER_PORT:“80”
SERVER_NAME:" http://www.xxx.com"
SERVER_PROTOCOL:“HTTP/1.1”
SERVER_SOFTWARE:“nginx/1.9.14”
//请求时间
REQUEST_TIME:1482224205
//请求时间 毫秒级
REQUEST_TIME_FLOAT:1482224205.7445
//URI
REQUEST_URI:"/fetch/data.php"
//脚本全路径
SCRIPT_FILENAME:"/home/vagrant/Code/web/fetch/data.php"
SCRIPT_NAME:"/fetch/data.php"