(PHP3 >= 3.0.7, PHP4 >= 4.0b4)
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 "/"