How would I do it so that the person with the username Guest (is a proper member o ) can not change their password.
I have been using
- Code: Select all
if (( !$userdata['session_logged_in'] && $mode == 'editprofile' ) || strtoupper($userdata['username']) == 'Guest' )
instead of
- Code: Select all
if ( !$userdata['session_logged_in'] && $mode == 'editprofile' )
And i can change the password.
Any ideas whats up?
Could it be because of the username Guest
Greg[/code]


