1024 && $i < $total; $i++) $size /= 1024; return round($size,$round).$sizes[$i]; } echo $url . '

'; if ($x > $max) die("No."); for($i = 1; $i <= $x; $i++){ shell_exec("wget " . $url); $bandwidth += $size; echo $i . '. ' . $bandwidth . ' bytes leeched
'; if ($i % 100 == 0) echo shell_exec("rm *.gif.* -v") . '
Cache Cleared!
'; } echo shell_exec("rm *.gif* -v") . '
Cache Cleared!

A total of ' . format_size($bandwidth, 2) . ' have been downloaded'; ?>