Get free space, in bytes, of the specified directory with disk_free_space() in PHP
Description
The following code shows how to get free space, in bytes, of the specified directory with disk_free_space().
Example
<?php
echo disk_free_space("C:");
?>
The code above generates the following result.