Re: [Phplib-users] Changing username in the middle of the page
Brought to you by:
nhruby,
richardarcher
|
From: anze <an...@vo...> - 2002-04-05 18:01:37
|
Hi! > "Tarique Sani <ta...@sa...>" <ro...@sa...> wrote: > Try checking $auth->auth["uname"] or whatever you want to check > > and then do a $auth->validate_login() Thanks for the answer, but $auth->auth_validatelogin() is actually a function that I wrote (you are supposed to overload it). It should change array $auth->auth[], but not all of the fields (exp is left out). OK, so I could change all four fields manually (uid,exp,uname and perm), but I was hoping for a cleaner solution... Besides, is it really OK to do that? Is this data cached anywhere? Anze |