<style>body{Background:#EEE; }</style><?PHPHeader("Content-type:text/html;charset=utf8");Echo"Error_reporting=>".error_reporting(E_all)." <br> ";Echo"Php_self=>".$_server[' Php_self ']. " <br> ";#The file name of the currently executing script, which is related to document root. Echo"Argv=>".$_server[' argv ']. " <br> ";#The arguments passed to the script. Echo"Argc=>".$_server[' ARGC ']. " <br> ";#contains the number of command-line arguments passed to the program (if run in command-line mode). Echo"Gateway_interface=>".$_server[' Gateway_interface ']. " <br> ";#The version of the CGI specification used by the server. For example, "cgi/1.1". Echo"Server_name=>".$_server[' server_name ']. " <br> ";#the name of the server host where the script is currently running. Echo"Server_software=>".$_server[' Server_software ']. " <br> ";#The string that the server identifies is given in the header in response to the request. Echo"Server_protocol=>".$_server[' Server_protocol ']. " <br> ";#the name and version of the communication protocol when the page is requested. For example, "http/1.0". Echo"Request_method=>".$_server[' Request_method ']. " <br> ";#the request method when the page is accessed. For example:, POST, PUT. Echo"Request_time=>".Date("Y-m-d h:s:i",$_server[' Request_time ']). " <br> ";#timestamp when the request startedEcho"Query_string=>".$_server[' Query_string ']. " <br> ";#a string that queries (query). Echo"Document_root=>".$_server[' Document_root ']. " <br> ";#the document root directory where the script is currently running. Defined in the server configuration file. Echo"Http_accept=>".$_server[' Http_accept ']. " <br> ";#Accept for current request: The contents of the header. Echo"Http_accept_charset=>".$_server[' Http_accept_charset ']. " <br> ";#Accept-charset of the current request: the contents of the header. For example: "Iso-8859-1,*,utf-8". Echo"Http_accept_encoding=>".$_server[' http_accept_encoding ']. " <br> ";#accept-encoding of the current request: the contents of the header. For example: "gzip". Echo"Http_accept_language=>".$_server[' Http_accept_language ']. " <br> ";#Accept-language of the current request: the contents of the header. For example: "en". Echo"Http_connection=>".$_server[' Http_connection ']. " <br> ";#Connection of the current request: the contents of the header. For example: "Keep-alive". Echo"Http_host=>".$_server[' Http_host ']. " <br> ";#Host of the current request: the contents of the header. Echo"Http_referer=>".$_server[' Http_referer ']. " <br> ";#a tag jumps to the URL address of the previous page that links to the current page. Echo"Http_user_agent=>".$_server[' Http_user_agent ']. " <br> ";#User-agent of the current request: the contents of the header. Echo"Https=>".$_server[' HTTPS ']. " <br> ";#if accessed over HTTPS, it is set to a non-null value (on), otherwise it returns offEcho"Remote_addr=>".$_server[' REMOTE_ADDR ']. " <br> ";#the IP address of the user who is browsing the current page. Echo"Remote_host=>".$_server[' Remote_host ']. " <br> ";#the host name of the user who is browsing the current page. Echo"Remote_port=>".$_server[' Remote_port ']. " <br> ";#the port that the user uses when connecting to the server. Echo"Script_filename=>".$_server[' Script_filename ']. " <br> ";#the absolute path name of the currently executing script. Echo"Server_admin=>".$_server[' Server_admin ']. " <br> ";#Administrator InformationEcho"Server_port=>".$_server[' Server_port ']. " <br> ";#the port used by the serverEcho"Server_signature=>".$_server[' Server_signature ']. " <br> ";#A string containing the server version and the virtual host name. Echo"Path_translated=>".$_server[' path_translated ']. " <br> ";#the base path to the file system (not the document root) where the current script resides. Echo"Script_name=>".$_server[' Script_name ']. " <br> ";#contains the path to the current script. This is useful when the page needs to point to itself. Echo"Request_rui=>".$_server[' Request_uri ']. " <br> ";#The URI required to access this page. For example, "/index.html". Echo"__file__=>".__file__." <br> ";
PHP pre-defined $_server instances, all $_server begin with predefined service variables.