or you could create a script to tell you how much disk space has been used on your account (not including database) i learnt how to do it on php.net you can use this code:
CODE
function dskspace ($dir)
{
$s = stat ($dir);
$space = $s ["blocks"]* 512;
if (is_dir ($dir))
{
$dh = opendir ($dir);
while (($file = readdir ($dh)) !==false)
if ($file != "." and $file != "..")
$space += dskspace ($dir . "/" . $file);
closedir ($dh);
}
return $space;
}
the above code is a function and you can use it on many pages if you put it in a file (for example filefunction.php) and include it on which ever page you wish. Then add this code to the page:
CODE
include ('filefunction.php');
$all = dskspace ('./'); //change this to the directory you want to tell the size of it will give size of that directory and all sub directorys :-)
$all = round ($all/1024000,1);
$mb = "mb";
echo "-Used: $all$mb<br/>";
enjoy :-)
Comment/Reply (w/o sign-up)