superglobal variables : _SERVER « Form « PHP

superglobal variables


foreach ($_SERVER as $var => $value) {
   echo "$var => $value <br />";


Related examples in the same category

1.$_SERVER extracts valuable server- and script-related information
2.Adjusting behavior based on an environment variable
3.Deciding what to do based on request method
4.Log use IP address
5.Getting Times and Dates of Files: $_SERVER['SCRIPT_FILENAME']
6.PHP $_SERVER Arguments
7.Output file time
8.Some Common $_SERVER Elements