protected static function checkReferrerList($botreferrerlist, $referrer_DNS)
    {
        //Prüfung
        foreach ($botreferrerlist as $botreferrer)
        {
            $CheckBotRef = str_ireplace($botreferrer, '#', $referrer_DNS);
            if ($referrer_DNS != $CheckBotRef)
            {
                return true;
            };
        }
        return false;
    }
protected static function checkReferrerList($botreferrerlist, $referrer_DNS)
    {
        //Prüfung
        foreach ($botreferrerlist as $botreferrer)
        {
            $CheckBotRef = str_ireplace($botreferrer, '#', $referrer_DNS);
            if ($referrer_DNS != $CheckBotRef)
            {
                return true;
            };
        }
        return false;
    }
protected static function checkReferrerList ( $ botreferrerlist , $ referrer_DNS ) { //Prüfung foreach ( $ botreferrerlist as $ botreferrer ) { $ CheckBotRef = str_ireplace ( $ botreferrer , '#' , $ referrer_DNS ) ; if ( $ referrer_DNS != $ CheckBotRef ) { return true ; } ; } return false ; }
Compare Referrer List With Referrer Domain

@param array $botreferrerlist
@param string $referrer_DNS
@return boolean      true: found, false: not found
Compare Referrer List With Referrer Domain