diff options
author | Philip Häusler <msquare@notrademark.de> | 2011-06-02 01:18:08 +0200 |
---|---|---|
committer | Philip Häusler <msquare@notrademark.de> | 2011-06-02 01:18:08 +0200 |
commit | 06497b3a5387f30ea140562cc71e371b2ec1e131 (patch) | |
tree | 8fc4fad2a21fb20ff233d4acf33c91590a814301 /includes/secure.php | |
parent | 10683c4759c2c3563ff7ed48b15d12e85cd0631b (diff) |
cleanup
Diffstat (limited to 'includes/secure.php')
-rw-r--r-- | includes/secure.php | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/includes/secure.php b/includes/secure.php deleted file mode 100644 index 1d1a9e46..00000000 --- a/includes/secure.php +++ /dev/null @@ -1,25 +0,0 @@ -<?php - if($debug) - echo "secure.php START<br />\n"; - - foreach ($_GET as $k => $v) { - $v = htmlentities($v, ENT_QUOTES); - preg_replace('/([\'"`\'])/', '', $v); - $_GET[$k] = $v; - - if($debug) - echo "GET $k=\"$v\"<br />"; - } - - foreach ($_POST as $k => $v) { - $v = htmlentities($v, ENT_QUOTES); - preg_replace('/([\'"`\'])/', '', $v); - $_POST[$k] = $v; - - if($debug) - echo "POST $k=\"$v\"<br />"; - } - - if($debug) - echo "secure.php END<br />\n"; -?> |