Can some one help me with this part of the script that is $size1 it keeps returning the quota is over 3mb when it only has 29kb
return number_format(($totalsize/1024),0);
}
$size = dir_size("/m3/".$login);
$size1 = number_format(3000000/1024,2);
if ($size > $size1) {
echo "You are over your allocated disk space of 3 mb of which you are using $size Kb. Please delete some of your files or your account will be suspended.";
mail("mobile@datadink.net", "Over Disk Limit", $login.$subj.$size.$subj1, "From: [email]mobile@datadink.net[/email]");
} else {
echo "You are using $size Kb of 3 mb";
}
echo $size1;
?>