$_server['Remote_port']//Port. $_server['server_name']//the name of the server host. $_server['php_self']//the file name of the script being executed$_server['argv']//The arguments passed to the script. $_server['argc']//the number of command-line arguments passed to the program. $_server['Gateway_interface']//the version of the CGI specification. $_server['Server_software']//server-identified strings$_server['Server_protocol']//the name and version of the communication protocol when the page is requested$_server['Request_method']//request method when accessing a page$_server['query_string']//a string that queries (query). $_server['Document_root']//the document root directory where the current run script resides$_server['http_accept']//Accept for current request: The contents of the 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']//Connection of the current request: the contents of the header. For example: "Keep-alive". $_server['Http_host']//Host of the current request: the contents of the header. $_server['Http_referer']//the URL address of the previous page that links to the current page. $_server['http_user_agent']//User_agent of the current request: the contents of the header. $_server['HTTPS']//if accessed over HTTPS, it is set to a non-null value (on), otherwise it returns off$_server['Script_filename']//the absolute path name of the currently executing script. $_server['Server_admin']//Administrator Information$_server['Server_port']//the 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 to 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 the HTTP authentication feature, 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 the HTTP authentication function, 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 $_server Detailed