On 19-11-2012 10:49, Alessandro Pellizzari wrote:
I agree it should *always* be disabled, however even when it is ENabled,
$_POST or $_GET (and also $_REQUEST) will always include that key and
value, regardless of the setting on register_globals.
Il Sun, 18 Nov 2012 01:09:11 -0500, Ron Piggott ha scritto:
echo "<select name=\"distributor-" . $row['promo_code_prefix'] . "-" .
$row['promo_code_suffix'] . "\" style=\"text-align: center;\">\r\n";
It could be wrote:
You MUST disable register_globals in your php.ini
Once you have done that (and even before that...) you find your variable
(or $_GET, depends on your form method)
In general though, it is most wise to DISable register_globals and code
assuming it always will be disabled.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php