(PHP 3>= 3.0.7, PHP 4 >= 4.0.0)
float diskfreespace (string directory)
float diskfreespace
Given a string containing a directory, this function will return the number of bytes available on the corresponding filesystem or disk partition.
Example 1. diskfreespace() example
$df = diskfreespace("/"); // $df contains the number of bytes // available on "/"