blocked sites

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    blocked sites

    i get blank white screen when sending a inbox that has a word in from the blocked sites list.
    Code:
    ///////////////////////////////////////////Is site blocked
    
    function isblocked($str,$sender)
    {
      if(ismod($sender))
      {
        return false;
      }
      $str = str_replace(" ","",$str);
      $str = strtolower($str);
        $res = mysql_query("SELECT site FROM dave_blockedsite");
    while ($row = mysql_fetch_array($res)) 
    {
       $sites[] = $row[0];
    }
      for($i=0;$i<count($sites);$i++)
      {
            $nosf = substr_count($str,$sites[$i]);
        if($nosf>0)
        {
          return true;
        }
      }
      return false;
    }
    anyone help
    Wapchat4u


    Topsites4u

    #2
    ignore that code its my inbox coding thats not right .
    Wapchat4u


    Topsites4u

    Comment

    Working...
    X