summaryrefslogtreecommitdiff
path: root/devel-utf8/itjs/error.gif
diff options
context:
space:
mode:
authorNathan Gass2012-03-22 18:18:42 +0000
committerNathan Gass2012-03-22 18:18:42 +0000
commitd59a4921188753dbe4c0161081755a28112c3ef6 (patch)
tree81496414d988f37f1db9d92c9750d888ffa13746 /devel-utf8/itjs/error.gif
parentca11771e8fad5fef96615df4c44e04b8fb60ac31 (diff)
downloaditools-d59a4921188753dbe4c0161081755a28112c3ef6.tar.gz
itools-d59a4921188753dbe4c0161081755a28112c3ef6.tar.bz2
itools-d59a4921188753dbe4c0161081755a28112c3ef6.zip
Branch itools/devel-utf8 created
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");