Server Information in php

The $_SERVER array contains a lot of useful information from the web server Here is a complete list of the entries in $_SERVER that come from CGI: PHP_SELF The name of the current script, relative to the document root SERVER_SOFTWARE A string that identifies the server (e.g., “Apache/1.3.33 (Unix) mod_perl/1.26 PHP/ 5.0.4”) SERVER_NAME The hostname, … Read more