Tedd's code for the $_SERVER Array
This is what the $_SERVER array contains
Array ( [CONTEXT_DOCUMENT_ROOT] => /home/sperlt/public_html [CONTEXT_PREFIX] => /~sperlt [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-php72/root/etc:/opt/cpanel/ea-php72/root/etc/php.d:. [QUERY_STRING] => [REDIRECT_STATUS] => 200 [REMOTE_ADDR] => 3.145.84.183 [REMOTE_PORT] => 43598 [REQUEST_METHOD] => GET [REQUEST_SCHEME] => https [REQUEST_URI] => /~sperlt/citw185/examples/server.php [SCRIPT_FILENAME] => /home/sperlt/public_html/citw185/examples/server.php [SCRIPT_NAME] => /~sperlt/citw185/examples/server.php [SCRIPT_URI] => https://citw.lcc.edu/~sperlt/citw185/examples/server.php [SCRIPT_URL] => /~sperlt/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] => Z2bj5lE0biIoloJg8Ok8DQAAAFY [PHP_SELF] => /~sperlt/citw185/examples/server.php [REQUEST_TIME_FLOAT] => 1734796262.7052 [REQUEST_TIME] => 1734796262 [argv] => Array ( ) [argc] => 0 )
Your Browser is: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)