[pmwiki-users] Integrating AuthUser into existing site
Wesley Tanaka
wtanaka at yahoo.com
Mon Oct 17 03:06:49 CDT 2005
> How is authentication currently being performed on the rest of your
> site?
There's a heavily modified phpbb table which contains salted MD5 hashed
passwords. Upon entering the correct password, $_SESSION is used to store the
user's information. So it's easy to pull out the username of the currently
logged in user as a variable.
> If $loggedinusername is already initialized to the correct username,
> then yes, this will do it. However, you can also do simply
>
> $AuthId = $loggedinusername;
>
> and it doesn't require loading in scripts/authuser.php.
Is this (setting AuthId) the recommended procedure?
Thanks!
Wesley Tanaka
http://treehouse.ofb.net/ - Treehouse Bar & Cafe in the town of Shangri-La
http://treehouse.ofb.net/guide/ - Yunnan, Eastern Tibet, China & more.
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
More information about the pmwiki-users
mailing list