1, $ _SESSION ['PHP_SELF'] - for currently executing script file name
2, $ _SERVER ['SERVER_PROTOCOL'] - request a page name and version of the protocol. For example, "HTTP/1.0".
3, $ _SERVER ['REQUEST_TIME'] - request start timestamp. Starting from PHP 5.1.0 and effective. And time functions the same effect.
4, $ _SERVER ['argv'] - the parameters passed to the script. I tried the next, get method can be $ _SERVER ['argv'] ; post method does not give him an assignment.
5, $ _SERVER ['SERVER_NAME'] - returns the current host name.
6, $ _SERVER ['SERVER_SOFTWARE'] - the server identification string, in response to request header information is given. If Microsoft-IIS/6.0
7, $ _SERVER ['REQUEST_METHOD'] - request way to access the page. For example: "GET", "HEAD", "POST", "PUT".
8, $ _SERVER ['QUERY_STRING'] - Query (query) string (URL of the first question mark? After the content).
9, $ _SERVER ['DOCUMENT_ROOT'] - where the currently running script document root directory. Defined in the server configuration file. Such as E: \ server
10, $ _SERVER ['HTTP_ACCEPT'] - the current request of the Accept: header content.
11, $ _SERVER ['HTTP_ACCEPT_CHARSET'] - the current request the Accept-Charset: header from the content. For example: "iso-8859-1, *, utf-8".
12, $ _SERVER ['HTTP_ACCEPT_ENCODING'] - the current request the Accept-Encoding: header content. For example: "gzip".
13, $ _SERVER ['HTTP_ACCEPT_LANGUAGE'] - the current request the Accept-Language: header content. For example: "en".
14, $ _SERVER ['HTTP_CONNECTION'] - the current request the Connection: header from the content. For example: "Keep-Alive".
15, $ _SERVER ['HTTP_HOST'] - the current request of the Host: header content.
16, $ _SERVER ['HTTP_REFERER'] - link to the current page's URL address of the previous page.
17, $ _SERVER ['HTTP_USER_AGENT'] - returns the user to use the browser information. You can also use get_browser () to get this information.
18, $ _SERVER ['HTTPS'] - if access via https, was set to a non-empty value, otherwise it returns off.
19, $ _SERVER ['REMOTE_ADDR'] - are browsing the user's IP address of the current page.
20, $ _SERVER ['REMOTE_HOST'] - the current page the user is browsing the host name. Reverse domain name resolution based on the user's REMOTE_ADDR. Return 127.0.0.1 as the local test
21, $ _SERVER ['REMOTE_PORT'] - the user to connect to the server port to use when. I tested this machine did not pass, do not know why.
22, $ _SERVER ['SCRIPT_FILENAME'] - the current implementation of the script's absolute pathname. Such as the return to E: \ server \ index.php
23, $ _SERVER ['SERVER_ADMIN'] - the value specified in the Apache server configuration file SERVER_ADMIN parameters. If the script is running in a virtual host, then the value is the value that the virtual host
24, $ _SERVER ['SERVER_PORT'] - the port used by the server. The default is "80." If you use SSL secure connection, then the value of the user to set the HTTP port.
25, $ _SERVER ['SERVER_SIGNATURE'] - contains the server version and virtual host name string.
26, $ _SERVER ['PATH_TRANSLATED'] - where the current script file system (not document root) of the basic path. This is the server path to the virtual to the real image of the result. Apache 2 users can use the AcceptPathInfo On httpd.conf to define PATH_INFO.
27, $ _SERVER ['SCRIPT_NAME'] - contains the path of the current script. This page needs to point to yourself, very useful. __FILE__ Contains the current file's absolute path and file name (for example, contains the file).
28, $ _SERVER ['REQUEST_URI'] - needed to access this page URI. For example, "/ index.html".
29, $ _SERVER ['PHP_AUTH_DIGEST'] - When running as an Apache module, for HTTP Digest authentication process, this variable is set to the client to send the "Authorization" HTTP header content (for further certification operation).
30, $ _SERVER ['PHP_AUTH_USER'] - when PHP is running on Apache or IIS (PHP 5 is ISAPI) module mode, and are using HTTP authentication, this variable is the user name entered by the user.
31, $ _SERVER ['PHP_AUTH_PW'] - when PHP is running on Apache or IIS (PHP 5 is ISAPI) module mode, and are using HTTP authentication, this variable is the password entered by the user.
32, $ _SERVER ['AUTH_TYPE'] - when PHP is running under the Apache module, and are using HTTP authentication, this variable is the type of certification.