summaryrefslogtreecommitdiff
path: root/includes/secure.php
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2011-06-02 01:18:08 +0200
committerPhilip Häusler <msquare@notrademark.de>2011-06-02 01:18:08 +0200
commit06497b3a5387f30ea140562cc71e371b2ec1e131 (patch)
tree8fc4fad2a21fb20ff233d4acf33c91590a814301 /includes/secure.php
parent10683c4759c2c3563ff7ed48b15d12e85cd0631b (diff)
cleanup
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";
-?>