Ever wanted to give your cliant an idear on how much disk space they have remaining? The following script will tell your user how much disk space has been used and how much is remaining. In this example $diskspace refers the amount of diskspace your cliant has avalable.
The value of disk space can be changed to suite, if required this value can my connected to a mysql_query. Such as if you are running a hosting service, have the value pulled from your hosting database.
If you dont wish to include a /mb removed the "." MB / ". $diskspace" line 4
You need to login to post a comment.