Re: Re[2]: [PHP] sessions

From: Date: Sun, 23 May 2004 15:13:27 +0000
Subject: Re: Re[2]: [PHP] sessions
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-186796@lists.php.net to get a copy of this message
it works back after a reboot but does anybody know how it could have happened? "Richard Davey" <rich@launchcode.co.uk> wrote in message news:1128072879.20040523160243@launchcode.co.uk... > Hello Jeroen, > > Sunday, May 23, 2004, 4:00:46 PM, you wrote: > > >> Should username have quote around it? Wouldn't it try to make it a constant otherwise? > >> echo $_SESSION['username'] > > JS> Unfortunately, imho, php doesn't seem to care that much in such cases ;-) > JS> $_SESSION[username] will have the same result as $_SESSION['username'] > > It cares enough to raise a script Warning ;) > > Best regards, > > Richard Davey > -- > http://www.launchcode.co.uk - PHP Development Services > "I am not young enough to know everything." - Oscar Wilde

« previous php.general (#186796) next »