function anti_sql($sql) {
$sql = str_replace(sql_regcase("/(from|select|insert|delete|where|drop table|show tables|#|*|--|\)/"),"",$sql);
return trim(strip_tags(addslashes($sql))); #strtolower()
}
ĐỌC TIẾP »
Tutorial: Fix bug SQL Injection Music Gift for vBB
Views:
0 comments:
Post a Comment