$_SERVER variables in PHP

To get a list of the variables that are stored as well as the data they contain, you can write a script that shows it on the screen.

foreach($_SERVER as $field_name => $value){
$assignment = “$” . $field_name . “= . $value . “;
echo “
” . $assignment;
}
?>

What this script does is go through all the $_SERVER variables showing their content.

See also  Transfer rate, one of the keys to choosing accommodation
Loading Facebook Comments ...
Loading Disqus Comments ...