function anti_sql($sql) {
$sql = preg_replace0/"),"",$sql);
return trim(strip_tags(addslashes($sql))); #strtolower)
}
<
{
$id = str_replace0;
$id = str_replace("'","''",$id);
$id = str_replace("UNI0N","",$id);
$id = str_replace("select","",$id);
$id = str_replace0;
$id = str_replace";
$id = str_replace";
$id = str_replace("2b","",$id);
if (strlen($id) > 10)
{
$id="";
}
return $id;
}
function string_replace($string)
{
$string = str_replace(""",""",$string);
$string = str_replace0;
$string = str_replace("'","''",$string);
$string = str_replace("<","[",$string);
$string = str_replace(">","">",$string);
$string = str_replace(">","">",$string);
$string = str_replace("<","[",$string);
$string = str_replace("UNI0N","",$string);
$string = str_replace("select","",$string);
$string = str_replace0;
$string = str_replace";
$string = str_replace";
$string = str_replace("2b","",$string);
if (strlen($string) > 15)
{
$string="";
}
return $string;
}