disk_total_space
Posted: Fri Jun 11, 2004 5:13 pm
I am tryign to figure out how to show the total space of a directory
the directory is on a linux system /dir/dir/
I found this code on php.net
Does this only work on windows file systems?
the directory is on a linux system /dir/dir/
I found this code on php.net
Code: Select all
<?php
// $df contains the total number of bytes available on "/"
$df = disk_total_space("/");
// On Windows:
disk_total_space("C:");
disk_total_space("D:");
?>