Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function secure_sieve($ore) {
- if(is_array($ore)) {
- $gold = array();
- foreach($ore as $key => $value)
- $gold[$key] = trim(str_replace ('"', '"', strip_tags($value)));
- } else
- $gold = trim(str_replace ('"', '"', strip_tags($ore)));
- return $gold;
- }
- $_GET = secure_sieve($_GET); // zabezpiecza GET
- $_POST = secure_sieve($_POST); // zabezpiecza POST
Add Comment
Please, Sign In to add comment