Public feed
#603747
function CheckVulgText($text,$ip)
{
$text = strtolower($text);
$h = fopen('filter.txt','r');
$words = fread($h,filesize('filter.txt'));
fclose($h);
$vulgs = array();
$vulgs = explode("\n",$words);
foreach($vulgs as $vulg)
{
if (strpos($text,$vulg)===true)
{
AddBan($ip,'Grow Up.');
echo "Grow Up.";
exit;
}
}
}