Ok...
I asked before, how do I protect the Admin CP from unauthorised Users?
I know about Cpanel Passwords, but I want to code the script to allow only userid=1 and userid=3 to be able to access it...
I tried several variations, but none work :
PHP Code:
if ($bbuserinfo[userid]!=1) OR ($bbuserinfo[userid]!=3) {
show_nopermission();
exit;
}
PHP Code:
if ($bbuserinfo[userid]!=1) {
show_nopermission();
exit;
}
if ($bbuserinfo[userid]!=3) {
show_nopermission();
exit;
}
What is the code that will only allow access to Userid=1 and Userid=3???
Satan