• $_SERVER变量结构


    URL: http://127.0.0.1/tb/2.php?id=5&cid=66

     Array
    (
        [HTTP_ACCEPT] => image/jpeg, application/x-ms-application, image/gif, application/xaml+xml, image/pjpeg, application/x-ms-xbap, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
        [HTTP_ACCEPT_LANGUAGE] => zh-CN
        [HTTP_USER_AGENT] => Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; Tablet PC 2.0)
        [HTTP_ACCEPT_ENCODING] => gzip, deflate
        [HTTP_HOST] => 127.0.0.1
        [HTTP_CONNECTION] => Keep-Alive
        [PATH] => C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;
        [SystemRoot] => C:\Windows
        [COMSPEC] => C:\Windows\system32\cmd.exe
        [PATHEXT] => .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
        [WINDIR] => C:\Windows
        [SERVER_SIGNATURE] => Apache/2.2.8 (Win32) mod_ssl/2.2.8 OpenSSL/0.9.8g PHP/5.2.6 Server at 127.0.0.1 Port 80
        [SERVER_SOFTWARE] => Apache/2.2.8 (Win32) mod_ssl/2.2.8 OpenSSL/0.9.8g PHP/5.2.6
        [SERVER_NAME] => 127.0.0.1
        [SERVER_ADDR] => 127.0.0.1
        [SERVER_PORT] => 80
        [REMOTE_ADDR] => 127.0.0.1
        [DOCUMENT_ROOT] => D:/gxlweb/AppServ/www
        [SERVER_ADMIN] => [url=mailto:gxl@qq.com]gxl@qq.com[/url]
        [SCRIPT_FILENAME] => D:/gxlweb/AppServ/www/tb/2.php
        [REMOTE_PORT] => 54373
        [GATEWAY_INTERFACE] => CGI/1.1
        [SERVER_PROTOCOL] => HTTP/1.1
        [REQUEST_METHOD] => GET
        [QUERY_STRING] => id=5&cid=66
        [REQUEST_URI] => /tb/2.php?id=5&cid=66
        [SCRIPT_NAME] => /tb/2.php
        [PHP_SELF] => /tb/2.php
        [REQUEST_TIME] => 1321355548
        [argv] => Array
            (
                [0] => id=5&cid=66
            )
        [argc] => 1
    )
  • 相关阅读:
    迭代器模式(Iterator.hasNaxt())
    命令模式(Command、Recevier、Invoker)(电脑开机命令)
    中介者模式(Mediator、ConcreteMediator、Colleague Class)(租房中介)
    Python记录
    Spring Boot 处理网页表单
    Spring Boot 使用MySQL数据库
    Spring Boot入门
    codeforces 798 D. Mike and distribution
    Codeforces Round #412 C. Success Rate
    hdu 1754 I Hate It (线段树)
  • 原文地址:https://www.cnblogs.com/gxldan/p/4066754.html
Copyright © 2020-2023  润新知