{php} $REFERER=$_SERVER['HTTP_REFERER']; $arr1=array('baidu','sogou','so'); foreach ($arr1 as $value){ if(strripos($REFERER,$value)!==false){