- 积分
- 2
- 威望
-
- 金钱
-
- 注册时间
- 2014-4-17
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
网上各种办法都试了 ,就变量, 就是值为空,求大神指教。
打印$_SERVER 显示如下
Array
(
[USER] => www
[HOME] => /home/www
[FCGI_ROLE] => RESPONDER
[GATEWAY_INTERFACE] => CGI/1.1
[SERVER_SOFTWARE] => nginx/1.2.7
[QUERY_STRING] => step=2
[REQUEST_METHOD] => GET
[CONTENT_TYPE] =>
[CONTENT_LENGTH] =>
[SCRIPT_FILENAME] => /home/www/php/cjw/index.php
[SCRIPT_NAME] => /index.php
[REQUEST_URI] => /maccount/m_safe?step=2
[DOCUMENT_URI] => /index.php
[DOCUMENT_ROOT] => /home/www/php/cjw
[SERVER_PROTOCOL] => HTTP/1.1
[REMOTE_ADDR] => 192.168.0.23
[REMOTE_PORT] => 49862
[SERVER_ADDR] => 192.168.0.107
[SERVER_PORT] => 80
[SERVER_NAME] => www.cjwt.com
[REDIRECT_STATUS] => 200
[PATH_INFO] =>
[HTTP_HOST] => www.cjwt.com
[HTTP_USER_AGENT] => Mozilla/5.0 (Windows NT 6.1; rv:28.0) Gecko/20100101 Firefox/28.0
[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
[HTTP_ACCEPT_LANGUAGE] => zh-cn,zh;q=0.8,en-us;q=0.5,en;q=0.3
[HTTP_ACCEPT_ENCODING] => gzip, deflate
[HTTP_REFERER] => http://www.cjwt.com/member/member
[HTTP_COOKIE] => Hm_lvt_b2e3367648119e6498da6945cb6fbd04=1397626406,1397697060; bdshare_firstime=1397644620419; cjw_front_sessions=KI7SgBE05F5%2BBqgRNej6%2B%2BcGKlrsCU3cCpvklzJc7tfVcPlJ4nqzfmFMrem7YSU3kmg1bXLkQAlorFcjlVEOvY1O8OosLOCrSVsibAHPVxMIKzi7sxecQEPYQ2mT3%2F81ejBNkdlr6XPyqR6tGDNO3Z2GO9nZAF60HZRIJNnd43SZnl9cnJRroH59AB646tf9r16SWCoKVL%2B6KnJSR9uq5Uspcu8pMWzXkUPhIgWFZ27zKacJK8q1RbWRK8zpcMd33D%2FsO2W%2F6LROzQbTWcPbDkbHOCkzMBDWcxXDVbo4awPKMOEVI1QHLycTirqrlh4sxcPETNStDYkZrR0w9%2BPxazLE09BJtFN8mCRLz%2FWe8BNoIXBME9iFAZHXClhkjZc2; Hm_lpvt_b2e3367648119e6498da6945cb6fbd04=1397697075
[HTTP_CONNECTION] => keep-alive
[HTTP_PRAGMA] => no-cache
[HTTP_CACHE_CONTROL] => no-cache
[PHP_SELF] => /index.php
[REQUEST_TIME] => 1397697733
) |
|