List all available $_SERVER variables with their values.
<?php
print '<pre>';
while (list ($key, $val) = each ($_SERVER)) {
print '<span style="display: inline-block; width: 20em;">' . $key . '</span>';
print ' = ' . trim(htmlentities($val)) . "\n";
}
print '</pre>';
?>
0 comments:
Post a Comment