function check($check){
$check = htmlspecialchars(mysql_real_escape_string($check));
$search = array('|', ''', '$', '', '^', '%', '`', "�", "x00", "x1A", "⁄∩");
$replace = array('|', ''', '$', '\', '^', '%', '`', '', '', '', '');
$msg = str_replace($search, $replace, $msg);
$msg = stripslashes(trim($msg));
return $check;
}
$search = array('|', ''', '$', '', '^', '%', '`', "�", "x00", "x1A", "⁄∩");