note 26559 added to security.registerglobals
| From: | Jim at rack1 dot php dot net | Date: | Tue, 05 Nov 2002 00:21:17 +0000 |
| Subject: | note 26559 added to security.registerglobals | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-38975@lists.php.net to get a copy of this message | ||
Isaac's was the only one that worked for me.. none of the others fixed the problem..
if (!empty($HTTP_GET_VARS)) while(list($name, $value) = each($HTTP_GET_VARS)) $$name = $value;
if (!empty($HTTP_POST_VARS)) while(list($name, $value) = each($HTTP_POST_VARS)) $$name = $value;
I'm running an OS X server.. just in case anyone else from the mac community comes across this
problem and needs a quick fix.
Thanks...
--
http://www.php.net/manual/en/security.registerglobals.php
http://master.php.net/manage/user-notes.php?action=edit+26559
http://master.php.net/manage/user-notes.php?action=delete+26559
http://master.php.net/manage/user-notes.php?action=reject+26559