[thelist] php: problem with variable

Peter Van Dijck peter.vandijck at vardus.com
Wed Jan 23 08:56:42 CST 2002



> >This code:
> >if(!$submit) {
> >should work fine in ALL versions of PHP, even the most recent.
>
> Not if register_globals is not turned on... if register_globals isn't
turned
> on, then you can only access form vars through the $HTTP_POST_VARS[] and
> $_POST[] variables.

Ok, that's new in the latest PHP version isn't it, for increased security?
It's turned on by default. Thanks, I missed that one.
Peter





More information about the thelist mailing list