Файл: world-faces.ru/world-faces.ru/sys/fnc/check.php
Строк: 5
<?php
function check($mess){
$mess=str_replace("|","I",$mess);
$mess=str_replace("||","I",$mess);
$mess=htmlspecialchars($mess);
$mess=str_replace("'","'",$mess);
$mess=str_replace(""",""",$mess);
$mess=str_replace("$","$",$mess);
$mess=str_replace("$","$",$mess);
$mess=str_replace("\","\", $mess);
$mess=str_replace("`","", $mess);
$mess=str_replace("^","^", $mess);
$mess=str_replace(":",":",$mess);
$mess=str_replace("%","%", $mess);
$mess=preg_replace("|:|",":",$mess,3);
$mess=mysql_escape_string(stripslashes(trim($mess)));
return $mess;
}
?>