Server Information

$_SERVER is an array that contains information about the server and execution environment. The keys available include:

PHP_SELF
GATEWAY_INTERFACE
SERVER_ADDR SERVER_NAME
SERVER_SOFTWARE SERVER_PROTOCOL
REQUEST_METHOD REQUEST_TIME
REQUEST_TIME_FLOAT QUERY_STRING
DOCUMENT_ROOT HTTP_ACCEPT
HTTP_ACCEPT_CHARSET HTTP_ACCEPT_ENCODING
HTTP_ACCEPT_LANGUAGE HTTP_CONNECTION
HTTP_HOST HTTP_REFERER
HTTP_USER_AGENT HTTPS
REMOTE_ADDR REMOTE_HOST
REMOTE_PORT REMOTE_USER
REDIRECT_REMOTE_USER SCRIPT_FILENAME
SERVER_ADMIN SERVER_PORT
SERVER_SIGNATURE PATH_TRANSLATED
SCRIPT_NAME REQUEST_URI
PHP_AUTH_DIGEST PHP_AUTH_USER
PHP_AUTH_PW AUTH_TYPE
PATH_INFO ORIG_PATH_INFO

RESETRUNFULL
/intro.php
CGI/1.1
localhost
1352882888
GET
E:/Program Files/xampp/htdocs
Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 Server at localhost Port 80

<!DOCTYPE html>
<html>
<head></head>
<body>
<?php
echo $_SERVER["PHP_SELF"]."<br />";
echo $_SERVER["GATEWAY_INTERFACE"]."<br />";
echo $_SERVER["SERVER_NAME"]."<br />";
echo $_SERVER["REQUEST_TIME"]."<br />";
echo $_SERVER["REQUEST_METHOD"]."<br />";
echo $_SERVER["DOCUMENT_ROOT"]."<br />";
echo $_SERVER["SERVER_SIGNATURE"]."<br />";
?>
</body>
</html>