Date: 04/06/01
- Next message: Holger Bahr: "[phplib] Re: Loginform on every page"
- Previous message: Rob See: "Re: [phplib] Multiple DBMS"
- Next in thread: Matt Williams: "RE: [phplib] Loginform on every page"
- Reply: Matt Williams: "RE: [phplib] Loginform on every page"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi list,
i have a login form on every page of my site. There, the user may
login with his username and password. Then, the form-variables are
sent to _the same_ page (not a seperate login page, because the same
form submits other variables to the script).
In top of every page, i have the following code:
if ($password) {
$auth->login_if($auth->auth["uid"] == "nobody");
}
Now, if I try to login, I get everytime first the loginform.ihtml
saying either my password or my username are wrong (but they aren't),
and after "relogin" there, I am logged in.
Could anyone help me with that problem?
Thanks,
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: Holger Bahr: "[phplib] Re: Loginform on every page"
- Previous message: Rob See: "Re: [phplib] Multiple DBMS"
- Next in thread: Matt Williams: "RE: [phplib] Loginform on every page"
- Reply: Matt Williams: "RE: [phplib] Loginform on every page"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

