Server Variables | Description |
|
'AUTH_TYPE' | When running under Apache as module doing HTTP authenticated,
this variable holds the authentication type. | |
'DOCUMENT_ROOT' | /home/vhosts/43979130.freeoda.com The document root directory under which the script is executing. as
defined in the server's configuration file. | |
'GATEWAY_INTERFACE' | CGI/1.1 What revision of the CGI specification the server is using: such as
'CGI/1.1'. | |
'PATH_TRANSLATED' | File system-base path to the current script. | |
'PHP_AUTH_PW' | When running under Apache as module doing HTTP authentication
this variable holds the password provided by the user. | |
'PHP_AUTH_USER' | When running under Apache as module doing HTTP authentication
this variable holds the username provided by the user. | |
'PHP_SELF' | /server.php The filename of the currently executing script, relative to the
document root. | |
'QUERY_STRING' | The query string. if there was any, with which the page was accessed. | |
'REMOTE_ADDR' | 216.73.216.92 The IP address from which the user is viewing the current page. | |
'REMOTE_HOST' | The host name from which the user is viewing the current page. | |
'REMOTE_PORT' | 54576 The port being used on the user's machine to communicate with the Web server. | |
'REQUEST_METHOD' | GET Specifies which request method was used to access the page; such
as 'GET', 'HEAD', 'POST', 'PUT'. | |
'REQUEST_URI' | /server.php The URI which was given in order to access this page, such as'/index.html'. | |
'SCRIPT_FILENAME' | /home/vhosts/43979130.freeoda.com/server.php The absolute pathname of the currently executing script. | |
'SRCIPT_NAME' | 43979130.freeoda.com Cantains the current script's path. This is useful for pages that need
to point to themselves. | |
'SERVER_ADMIN' | contact@freewha.com The value given to the SERVER_ADMIN (for Apache) directive in the
Web server configuration file. | |
'SERVER_NAME' | The name of the server host under which the script is executing. | |
'SERVER_PORT' | 80 The port on the server machine being used by the Web server for
communication. By default setup, this is '80'. | |
'SERVER_PROTOCOL' | HTTP/1.1 Name and revision of the information protocol via which the page
was requested; such as 'HTTP/1.0'. | |
'SERVER_SIGNATURE' | String containing the server version and virtual host name, which
are added to server generated pages. | |
'SERVER_SOFTWARE' | Apache/2.4.63
The server identification string. | |