> With register_globals OFF in  your php.ini file, all of the user input is
> present in the _GET, _POST, _REQUEST, or _COOKIE array. With
> register_globals ON, then the variables are registered as regular variables.
> If you have a URL like page.php?id=1, then with them OFF, you have to use
> $_GET["id"] to get the value of one, with them ON, you can just use $id.

Just to be clear, $_GET['id'] will work fine with register_globals 
on or off.  In otherwords, these php predefined variables will 
exist either way.  Just like the older non-super ones, such as 
$HTTP_GET_VARS.

Regards,
Philip Olson


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to