<?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");