01-25-2010, 01:47 AM
|
#7 (permalink)
|
|
The Acquainted
Join Date: Feb 2008
Posts: 107
Thanks: 3
|
I tried this but it doesnt work with this script ?
PHP Code:
$string = "Don't look at my Ass";
$ass = "/ass/i";
$stopwords = array($ass, "shit", "pussy");
if ( preg_match( '~(' . implode( '|', $stopwords ) . ')~', $string ) ) { echo 'Found!'; }
|
|
|