minicl55

Untitled

Oct 10th, 2014
316
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. foreach($_POST as $key => $value)
  2. {
  3. $_GET[$key] = mysqli_real_escape_string($_GET[$key])
  4. }
  5.  
  6. foreach($_GET as $key => $value)
  7. {
  8. if (strpos($value,';') or strpos($value,"`") or strpos($value,"'"))
  9. {
  10. $_POST[$key] = mysqli_real_escape_string($_POST[$key])
  11. }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment