Public feed #603752

Something

public text v1 · immutable
Raw Edit
·published 2007-07-05 01:41 UTC
rendered paste body
function CheckVulgText($text,$ip)
{
	$text = strtolower($text);
	$vulgs = file('filter.txt');
	foreach($vulgs as $vulg)
	{
		if (strpos($text,$vulg) !== true)
		{
			AddBan($ip,'Grow Up.');
			echo "Grow Up.";
			exit;
		}
	}
}