Posted by Peter van Schie on 10/17/60 11:21
julian maisano wrote:
> Absolutely not :(
>
> I didn't know it was requeired. I'll look to php.net to see what the
> hell is $_GET ...
>
> By the way, I looked an example that didn't have $_GET and worked though
It does when register_globals is set to On in php.ini (which is a bad
idea). Another way is to first call:
extract($_GET, EXTR_SKIP);
and then do what you used to do. I wouldn't use that though and stick
with using $_GET['xx'], because you'll see immediately that the variable
in question is a GET variable and it's safer.
--
http://www.phpforums.nl
Navigation:
[Reply to this message]
|