[thelist] php: problem with variable

Jason Lustig lustig at acsu.buffalo.edu
Wed Jan 23 08:49:02 CST 2002


>Go back to finding out what's going on with the $submit. 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.

--Jason





More information about the thelist mailing list