6.5/EMPS.php
/**
     * Check if the current remote IP address is blacklisted
     *
     *
     */
Check if the current remote IP address is blacklisted
Check if the current remote IP address is blacklisted
public function is_blacklisted()
    {
        $ip = $_SERVER['REMOTE_ADDR'];
        $row = $this->db->get_row("e_blacklist", "ip = '" . $ip . "'");
        if ($row) {
            return true;
        }
        return false;
    }
public function is_blacklisted ( ) { $ ip = $ _SERVER [ 'REMOTE_ADDR' ] ; $ row = $ this -> db -> get_row ( " e_blacklist " , " ip = ' " . $ ip . " ' " ) ; if ( $ row ) { return true ; } return false ; }
Check if the current remote IP address is blacklisted
Check if the current remote IP address is blacklisted