>Once the user has inserted the UN, and PW, it is campared against the MySQL
database, nowm >what i want to do is get rid of the login form which still
appears, and is very annoying. I >can't seem to see anything on this
particular subject, but if their is any, can u point me in >the right
direction.

Re-arrange your code so you *CHECK* their username/password *before* you
start showing the FORM.

If they've entered username/password, and it's valid, don't show the form,
do something else.

Also, the variables $PHP_AUTH_USER and PHP_AUTH_PW are going to be set by
the browser as part of HTTP Authentication, even though you're not using
HTTP Authentication, so you can't use those variables with your form.  Pick
different variable names.

--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to