No Server Vars in PHP3
| From: | Mukul Sabharwal | Date: | Wed, 18 Oct 2000 03:36:06 +0000 |
| Subject: | No Server Vars in PHP3 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-20777@lists.php.net to get a copy of this message | ||
Hi,
I did ...
while (list($key, $val) = each($HTTP_SERVER_VARS)) {
echo "$key => $val";
echo "<br>";
}
this in php3.0.16 gives an error... variable sent is
not an array... and in php4.0.2 it shows me all the
stuff.... what could be the reason ..
ps. - track vars is on
__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf! It's FREE.
http://im.yahoo.com/