note 33059 deleted from function.disk-free-space by cece
| From: | cece@php.net | Date: | Tue, 19 Aug 2003 12:40:49 +0000 |
| Subject: | note 33059 deleted from function.disk-free-space by cece | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-54662@lists.php.net to get a copy of this message | ||
Note Submitter:
----
$size[1]= Total space
$size[2]= Free space
$size[3] = Used space
<?php
function hard_disk($letter,$array_disk_info,$round)
{
$size=array
(1=>$dt=round(disk_total_space($letter)/1024/1024/1024,$round),
$df=round(disk_free_space($letter)/1024/1024/1024,$round),$dt-$df);
return "<b>[$array_disk_info] GB<br>";
}
?>
I hope this help somebody