Is ?php the very first line in the file? At some point here you're ending
up in the if() statment or the else() statment becuase those are the only
two places where you could have sent a header after they had already been
set. So I gotta figure you have some output before the if() statment.
I recently set up a log in page. I'm doing it a little differently than
you. First I establish a session and set up two session variables
(sessusername and sesspassword).
I check to see if these variables have been set,
if they have, I then check the username and password with the database to
2 matches
Mail list logo