summaryrefslogtreecommitdiff
path: root/includes/secure.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/secure.php')
-rw-r--r--includes/secure.php25
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";
-?>