Mahmoud's code for the $_SERVER Array
This is what the $_SERVER array contains
Array ( [CONTEXT_DOCUMENT_ROOT] => /home/siryanm1/public_html [CONTEXT_PREFIX] => /~siryanm1 [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.146.255.135 [REMOTE_PORT] => 3882 [REQUEST_METHOD] => GET [REQUEST_SCHEME] => https [REQUEST_URI] => /~siryanm1/citw185/examples/server_arrays.php [SCRIPT_FILENAME] => /home/siryanm1/public_html/citw185/examples/server_arrays.php [SCRIPT_NAME] => /~siryanm1/citw185/examples/server_arrays.php [SCRIPT_URI] => https://citw.lcc.edu/~siryanm1/citw185/examples/server_arrays.php [SCRIPT_URL] => /~siryanm1/citw185/examples/server_arrays.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] => Z2fK3m1-9wPzh6xLklFs1gAAAJI [PHP_SELF] => /~siryanm1/citw185/examples/server_arrays.php [REQUEST_TIME_FLOAT] => 1734855390.6431 [REQUEST_TIME] => 1734855390 [argv] => Array ( ) [argc] => 0 )
Your Browser is: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)