Date: 07/20/00
- Next message: Padraic Renaghan: "Re: [phplib] Default Authentication, $nobody and confusion"
- Previous message: Smith, David (Student Assistant): "RE: [phplib] Conditional blocks"
- In reply to: Philippe Paravicini: "[phplib] User registration form"
- Next in thread: Padraic Renaghan: "Re: [phplib] Default Authentication, $nobody and confusion"
- Reply: Padraic Renaghan: "Re: [phplib] Default Authentication, $nobody and confusion"
- Maybe reply: Spruce Weber: "Re: [phplib] Default Authentication, $nobody and confusion"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Howdy,
Ok, I have been using PHPLIB for a few months and i am diggin' it in a
big way, it has saved me tons of time and effort.
However, i am pulling my hair out trying to understand how this "default
authentication" and $nobody works!
I can't make default authentication behave in the demo pages shipped
with PHPLIB, and i can't make it work with my own sites either...well,
let me clarify, here is what happens:
- The default authentication works fine on pages that don't require
special privs and behave as though i am really 'nobody'...so that part
is great!
- However, when i go to log in via the $auth->login_if($again)
mechanism, i can not seem to sucessfully log in under ANY user name.
Even adding debugging code to auth_validatelogin(), i can see the
password comparison work and the $uid returned correctly, yet i always
get bounced back to the "login again - wrong username/password" screen.
WHY????
What am i doing wrong? Is there another function i need to implement or
is there additional PHP code i need to modify in local.inc???
I would really appreciate a thorough explanation...i have searched the
archives of the PHPLIB-list and found mention of this problem several
times and requests for help, but have never found anyone explaining the
solution!
I will volunteer to write up what i have learned for the PHPLIB website
if someone will help me get this working.
thanks,
-dave
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: Padraic Renaghan: "Re: [phplib] Default Authentication, $nobody and confusion"
- Previous message: Smith, David (Student Assistant): "RE: [phplib] Conditional blocks"
- In reply to: Philippe Paravicini: "[phplib] User registration form"
- Next in thread: Padraic Renaghan: "Re: [phplib] Default Authentication, $nobody and confusion"
- Reply: Padraic Renaghan: "Re: [phplib] Default Authentication, $nobody and confusion"
- Maybe reply: Spruce Weber: "Re: [phplib] Default Authentication, $nobody and confusion"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

