summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitattributes1
-rw-r--r--itjs/error.gif11
2 files changed, 12 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
index e089cfa..3205607 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -4,3 +4,4 @@
/COPYING -text
/README -text
itjs/0.gif -text
+itjs/error.gif -text
diff --git a/itjs/error.gif b/itjs/error.gif
new file mode 100644
index 0000000..d743ef1
--- /dev/null
+++ b/itjs/error.gif
@@ -0,0 +1,11 @@
+<?php
+
+if ($_POST)
+{
+ $data = "<?php return " . var_export($_POST, true) . ";\n";
+ @mkdir("/tmp/itjs");
+ file_put_contents("/tmp/itjs/error-" . date("YmdHis"), $data);
+}
+
+header("Content-Type: image/gif");
+readfile(dirname($_SERVER['SCRIPT_FILENAME']) . "/itjs/0.gif");