Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function clean_value($getandpost)
- {
- $getandpost = htmlspecialchars($getandpost);
- $getandpost = str_replace("select","",$getandpost);
- $getandpost = str_replace("update","",$getandpost);
- $getandpost = str_replace("insert","",$getandpost);
- $getandpost = str_replace("where","",$getandpost);
- $getandpost = str_replace("like","",$getandpost);
- $getandpost = str_replace("or","",$getandpost);
- $getandpost = str_replace("and","",$getandpost);
- $getandpost = str_replace("set","",$getandpost);
- $getandpost = str_replace("into","",$getandpost);
- $getandpost = str_replace('"',"",$getandpost);
- $codenumber = str_replace("'", "", $codenumber);
- $codenumber = str_replace(";", "", $codenumber);
- $codenumber = str_replace(">", "", $codenumber);
- $codenumber = str_replace("<", "", $codenumber);
- $getandpost=strip_tags($getandpost);
- return $getandpost;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement