Thread: Class problem
View Single Post
  #1  
Old 21st December 2009, 18:05
poly poly is offline
Member
 
Join Date: Dec 2009
Venezuela
Posts: 1
Talking Class problem
when give grade 14 that is how Staff Leader appears will help me solve the problem

Search I found something I gave but I understood nothing of the topic

Code:
Access Denied!
We come to believe you are using a fake account, therefore we've logged this action!
Code:
// Check Staff Names
$lmaxclass  = 14;
$lsysopnames = array("poly","); // Case sensitive. Change this (YOUR SYSOP-ADMIN NAMES GOES HERE) (example: array("adminname1","adminname2","adminname3","adminname4","so far")
    if ($CURUSER["class"] >= $lmaxclass)
        if (!in_array($CURUSER["username"], $lsysopnames, true)) { // true for strict comparison
            $msg = "Fake Account Detected: Username: ".$CURUSER["username"]." - UserID: ".$CURUSER["id"]." - UserIP : ".getip();
            write_log($msg);
            stderr("Access Denied!","We come to believe you are using a fake account, therefore we've logged this action!");
        }

Last edited by poly; 21st December 2009 at 20:24.
Reply With Quote