вот это уже точно правельно да ?? $text = mb_strtolower($text);
$text = rus_latt($text);
$text = antimat($text);
///////////////////////////
///антимат///////////
///////////////////////////
if ($_POST['msgtrans'] == 1)
{
$msg = trans($msg);
}