Re: Re: still having login problems sigh

From: Date: Thu, 25 Mar 2004 08:35:01 +0000
Subject: Re: Re: still having login problems sigh
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-181459@lists.php.net to get a copy of this message
On Thu, 25 Mar 2004 03:21:54 -0500 "Andy B" <aborka1@wmis.net> wrote: > >What happens if you give a the correct ones? > > doesnt make any difference... Then there's a problem with your code. Check $username first before you use it. Also, if you're using $_POST then you should use $_POST['username'] instead of $username. [...] > do i have to pay any attention to something of this sort: Yes. > [notice] undefined variable in ....../login.php: > $_SESSION[username] is undefined > > ????but i defined it already and the right way????? im lost now Try $_SESSION['username'] -- - E -

« previous php.general (#181459) next »