summaryrefslogtreecommitdiff
path: root/devel-utf8/itjs/error.gif
diff options
context:
space:
mode:
Diffstat (limited to 'devel-utf8/itjs/error.gif')
-rw-r--r--devel-utf8/itjs/error.gif11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel-utf8/itjs/error.gif b/devel-utf8/itjs/error.gif
new file mode 100644
index 0000000..d743ef1
--- /dev/null
+++ b/devel-utf8/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");