Server gegevens

Onderstaande code's laat betreffende bezoekersgegevens zien
welke op direct te halen zijn wanneer deze pagina bezocht wordt.

Voorbeeld:

<?php echo $_SERVER['HTTP_HOST']; ?>

CodeOmschrijving
$_SERVER['USER'] root
$_SERVER['HOME'] /root
$_SERVER['ORIG_SCRIPT_NAME'] /VHJhbnNJUDpBbGxZb3VyUEhQc0JlbG9uZ1RvVXNfcGhwNzE=/php-cgi
$_SERVER['ORIG_PATH_TRANSLATED'] /sites/jongevos.nl/www/home.php
$_SERVER['ORIG_PATH_INFO'] /home.php
$_SERVER['ORIG_SCRIPT_FILENAME'] /var/run/php71-cgi/php-cgi
$_SERVER['SCRIPT_NAME'] /home.php
$_SERVER['REQUEST_URI'] /home.php?p=00070&t=7
$_SERVER['QUERY_STRING'] p=00070&t=7
$_SERVER['REQUEST_METHOD'] GET
$_SERVER['SERVER_PROTOCOL'] HTTP/1.0
$_SERVER['GATEWAY_INTERFACE'] CGI/1.1
$_SERVER['REDIRECT_URL'] /home.php
$_SERVER['REDIRECT_QUERY_STRING'] p=00070&t=7
$_SERVER['REMOTE_PORT'] 6454
$_SERVER['SCRIPT_FILENAME'] /sites/jongevos.nl/www/home.php
$_SERVER['SERVER_ADMIN'] webmaster@jongevos.nl
$_SERVER['CONTEXT_DOCUMENT_ROOT'] /var/run/php71-cgi/
$_SERVER['CONTEXT_PREFIX'] /VHJhbnNJUDpBbGxZb3VyUEhQc0JlbG9uZ1RvVXNfcGhwNzE=/
$_SERVER['REQUEST_SCHEME'] http
$_SERVER['DOCUMENT_ROOT'] /sites/jongevos.nl/www/
$_SERVER['REMOTE_ADDR'] 54.80.115.140
$_SERVER['SERVER_PORT'] 80
$_SERVER['SERVER_ADDR'] 37.97.170.46
$_SERVER['SERVER_NAME'] jongevos.nl
$_SERVER['SERVER_SOFTWARE'] Apache
$_SERVER['SERVER_SIGNATURE']
$_SERVER['PATH'] /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
$_SERVER['HTTP_ACCEPT'] text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
$_SERVER['HTTP_USER_AGENT'] CCBot/2.0 (http://commoncrawl.org/faq/)
$_SERVER['HTTP_ACCEPT_ENCODING'] x-gzip, gzip, deflate
$_SERVER['HTTP_HOST'] jongevos.nl
$_SERVER['TMPDIR'] /sites/jongevos.nl/tmp/
$_SERVER['SCRIPT_URI'] http://jongevos.nl/home.php
$_SERVER['SCRIPT_URL'] /home.php
$_SERVER['UNIQUE_ID'] Wt1Xtn8AAQEAAHp-y7QAAADF
$_SERVER['REDIRECT_STATUS'] 200
$_SERVER['REDIRECT_HANDLER'] php71-fastcgi
$_SERVER['REDIRECT_TMPDIR'] /sites/jongevos.nl/tmp/
$_SERVER['REDIRECT_SCRIPT_URI'] http://jongevos.nl/home.php
$_SERVER['REDIRECT_SCRIPT_URL'] /home.php
$_SERVER['REDIRECT_UNIQUE_ID'] Wt1Xtn8AAQEAAHp-y7QAAADF
$_SERVER['FCGI_ROLE'] RESPONDER
$_SERVER['PHP_SELF'] /home.php
$_SERVER['REQUEST_TIME_FLOAT'] 1524455350.5482
$_SERVER['REQUEST_TIME'] 1524455350