php-general | 2004032
Date: 03/25/04
- Next message: Burhan Khalid: "Re: [PHP] Methods for creating HTML with PHP"
- Previous message: Richard Davey: "Re: [PHP] Re: still having login problems sigh"
- In reply to: Andy B: "[PHP] Re: still having login problems sigh"
- Next in thread: Andy B: "[PHP] Re: still having login problems sigh"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, 25 Mar 2004 03:21:54 -0500
"Andy B" <aborka1 <email protected>> 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 -
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: Burhan Khalid: "Re: [PHP] Methods for creating HTML with PHP"
- Previous message: Richard Davey: "Re: [PHP] Re: still having login problems sigh"
- In reply to: Andy B: "[PHP] Re: still having login problems sigh"
- Next in thread: Andy B: "[PHP] Re: still having login problems sigh"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

