$_server[' http_accept_language '//Browser language $_server[' REMOTE_ADDR ']//Current user IP. $_server[' remote_host '//Current user hostname $_server[' request_uri ']//url$_server[' remote_port ']//port. $_server[' server_name '//name of the server host. $_server[' php_self ']//is executing the script's filename $_server[' argv ']//parameters passed to the script. $_server[' argc '///The number of command-line arguments passed to the program. Version of $_server[' Gateway_interface ']//cgi specification. $_server[' server_software '//server-identified string $_server[' Server_protocol ']//Request page when communication protocol name and version $_server[' Request_method ']// The request method for accessing the page $_server[' query_string '//query string. $_server[' document_root '///the document root directory where the current run script is located $_server[' http_accept '///the contents of the current request's ACCEPT: header. $_server[' http_accept_charset '///Accept-charset of the current request: the contents of the header. $_server[' http_accept_encoding '///accept-encoding of the current request: the contents of the header $_server[' http_connection '///Current request CONNECTION: The contents of the header. For example: "Keep-alive". $_server[' http_host '///Current requested HOST: The contents of the header. $_server[' http_referer '//link to the URL address of the previous page of the current page. $_server[' http_user_agent '///user_agent of the current request: the contents of the header. $_server[' https ']//if accessed via HTTPS, is set to a non-null value (on), otherwise returns off$_server[' Script_fileName ']//The absolute pathname of the current execution script. $_server[' server_admin '//Administrator Information $_server[' server_port ']//port used by the server $_server[' server_signature ']// A string containing the server version and the virtual host name. $_server[' path_translated '//The base path of the file system (not the document root) where the current script resides. $_server[' script_name '//contains the path to the current script. This is useful when the page needs to point to itself. $_server[' Php_auth_user '//When PHP is running in the Apache module mode and is using HTTP authentication, this variable is the user name entered by the user. $_server[' PHP_AUTH_PW '//When PHP is running in the Apache module mode and is using HTTP authentication, this variable is the password entered by the user. $_server[' Auth_type '//When PHP is running in the Apache module mode and is using the HTTP authentication feature, this variable is the type of authentication
PHP Common $_server Variable list