View Single Post
Re: PHP Message Help
Old
  (#4)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default Re: PHP Message Help - 17-06-2007

well... just use a for loop then

PHP Code:
for ($i 0$i count ($badwords); $i++)
  {
    if (
strstr ($message$badwords[i]) != FALSE)
      {
        die (
"bad words detected");
      }
  } 
  
Reply With Quote