Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2004032

Re: [PHP] Re: still having login problems sigh From: - Edwin - (copperwa11s <email protected>)
Date: 03/25/04

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