[PHP] Session vars vs. POST/GET vars?

2003-01-11 Thread Noel Wade
Hi all, So I have a session variable; but with register_globals active on the server I'm hosted at (no way to turn it off), just checkng for $varX in my script could retrieve the session variable, a GET variable with the same name, or a POST variable with the same name - and as a security

Re: [PHP] Session vars vs. POST/GET vars?

2003-01-11 Thread Jason k Larson
FYI: Don't like auto register globals ... try the following at the beginning of your script. ini_set ('register_globals','Off'); Works for me places I'm hosted at. HTH, Jason k Larson Noel Wade wrote: Hi all, So I have a session variable; but with register_globals active on the server I'm

Re: [PHP] Session vars vs. POST/GET vars?

2003-01-11 Thread Jason Wong
On Saturday 11 January 2003 19:47, Jason k Larson wrote: FYI: Don't like auto register globals ... try the following at the beginning of your script. ini_set ('register_globals','Off'); Works for me places I'm hosted at. register_globals cannot be set at runtime (to be precise, it can be