<?php $path = ‘/var/www/html’; function filesize_recursive($path) { $ret = 0; try { if(!file_exists($path)) return 0; if(is_file($path)) return filesize($path); foreach(glob($path."/*") as $fn) $ret += filesize_recursive($fn); } catch(Exception $e) { echo ‘Message: ‘ .$e->getMessage(); } return $ret; } function display_size($size) { $sizes = array(‘B’, ‘kB’, ‘MB’, ‘GB’, ‘TB’, ‘PB’, ‘EB’, ‘ZB’, ‘YB’);…