[phplib] logging in before authentication From: darcy w. christ (darcy <email protected>)
Date: 05/31/01

hi,

  i've created a login form which i plan to have on everypage. i've
also setup include() inside of my own function auth_loginform() to throw
up a warning page, not a login page. The page says, please login using
the form above. My problem is that i'm not sure how to login from this
form. i've looked through the code in auth.inc and i'm not quite sure
the best approach. i wanted to see if anyone else has tried this. My
guess is that i need to look for global variables for my username and
password and when i find them to bipass auth_loginform() and go right to
auth_validatelogin(). But where to do that? Should i just change my
auth_loginform() to look for those variables or is that not the best way
to approac it? i appreciate the thoughts.

-- 
~darcy w. christ
Elegant Communications Inc.
416.362.9772 x222 | 416.362.8324 fax

--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-unsubscribe <email protected> For additional commands, e-mail: phplib-help <email protected>