Get free space, in bytes, of the specified directory with diskfreespace() in PHP
Description
The following code shows how to get free space, in bytes, of the specified directory with diskfreespace().
Example
/*www . j a va2s .c o m*/
<?php
echo diskfreespace("C:");
?>
The code above generates the following result.