note 20691 added to reserved.variables
| From: | davidly-job at altern dot org | Date: | Fri, 12 Apr 2002 14:57:39 +0000 |
| Subject: | note 20691 added to reserved.variables | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-29162@lists.php.net to get a copy of this message | ||
Sometimes it doesnt print all the variables, here's a little code to display them:
echo count($HTTP_SERVER_VARS);
function display($ar){
while(list($key,$val)=each($ar)){
echo "<ul>";
echo "$key = $val \n\n";
if (is_array($val)){
display($val);
}
echo "</ul>";
}
}
display($HTTP_SERVER_VARS);
--
http://www.php.net/manual/en/reserved.variables.php
http://master.php.net/manage/user-notes.php?action=edit+20691
http://master.php.net/manage/user-notes.php?action=delete+20691
http://master.php.net/manage/user-notes.php?action=reject+20691