note 50502 modified in function.disk-free-space by aidan
| From: | aidan@php.net | Date: | Thu, 16 Nov 2006 02:30:32 +0000 |
| Subject: | note 50502 modified in function.disk-free-space by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-119792@lists.php.net to get a copy of this message | ||
and also you can know the used space , in this
example :
<?
function disk_used_space($drive)
{
return disk_total_space("$drive:") - disk_free_space("$drive:");
}
echo disk_used_space('C');
?>
--was--
and also you can know the used space , in this
example :
<?
function disk_used_space($drive)
{
return disk_total_space("$drive:") - disk_free_space("$drive:");
}
echo disk_used_space(C);
?>
http://php.net/manual/en/function.disk-free-space.php