Brian Lark's code for the $_SERVER Array
This is what the $_SERVER array contains
Array ( [CONTEXT_DOCUMENT_ROOT] => /home/larkb/public_html [CONTEXT_PREFIX] => /~larkb [DOCUMENT_ROOT] => /var/www/html [GATEWAY_INTERFACE] => CGI/1.1 [HTTPS] => on [HTTP_ACCEPT] => */* [HTTP_ACCEPT_ENCODING] => gzip, br, zstd, deflate [HTTP_HOST] => citw.lcc.edu [HTTP_USER_AGENT] => Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) [HTTP_X_HTTPS] => 1 [PATH] => /bin:/usr/bin [PHP_INI_SCAN_DIR] => /opt/cpanel/ea-php82/root/etc:/opt/cpanel/ea-php82/root/etc/php.d:. [QUERY_STRING] => [REDIRECT_STATUS] => 200 [REMOTE_ADDR] => 3.142.135.24 [REMOTE_PORT] => 13868 [REQUEST_METHOD] => GET [REQUEST_SCHEME] => https [REQUEST_URI] => /~larkb/citw185/examples/server.php [SCRIPT_FILENAME] => /home/larkb/public_html/citw185/examples/server.php [SCRIPT_NAME] => /~larkb/citw185/examples/server.php [SCRIPT_URI] => https://citw.lcc.edu/~larkb/citw185/examples/server.php [SCRIPT_URL] => /~larkb/citw185/examples/server.php [SERVER_ADDR] => 172.31.5.10 [SERVER_ADMIN] => arseneac@star.lcc.edu [SERVER_NAME] => citw.lcc.edu [SERVER_PORT] => 443 [SERVER_PROTOCOL] => HTTP/1.1 [SERVER_SIGNATURE] => [SERVER_SOFTWARE] => Apache [SSL_TLS_SNI] => citw.lcc.edu [TZ] => America/Detroit [UNIQUE_ID] => Z2fIjlE0biIoloJg8OlNFAAAAEQ [PHP_SELF] => /~larkb/citw185/examples/server.php [REQUEST_TIME_FLOAT] => 1734854798.5466 [REQUEST_TIME] => 1734854798 [argv] => Array ( ) [argc] => 0 )
Your Browser is: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)