Re: [PHP] session_register vs. $_SESSION superglobal

2004-03-24 Thread Kim L. Laage
--- START adminHome.php START --- Choose page to edit Home Company Products Price Links Log Out --- END adminHome.php END --- --- START global.php START --- --- END global.php END --- The more I look at all of this, the more convinced I get that the dev's jus

[PHP] Re: RE:[PHP] session_register vs. $_SESSION superglobal

2004-03-23 Thread Kim L. Laage
(This msg. may arrive twice, with two different senders, I've had a little trouble with the news server) Hi, thanks for your reply. > first $_SESSION works like this: > > session_start(); > $_session[user]=$_POST[user];//if using register_globals=off > $_SESSION[user]=$user;//if register_globals=

[PHP] session_register vs. $_SESSION superglobal

2004-03-23 Thread Kim L. Laage
Hi, Newbie warning - this may be extremely simple. I've been given a bit of code to get to work on our test machines, but at the moment I'm drawing a blank. As far as I can tell the problem lies in the dev. using a server environment with "register_globals = On", while we use the default setting