Share on Google+Share on Google+

PHP find free space, php disk_free_space, disk_free_space

Learn how to use disk_free_space() function in PHP.

The example Shows of disk_free_space() function in php Program. In this section you will find the example code of disk_free_space() function.

The disk_free_space() function in PHP is used to find the Hard Disk's free space from the PHP program. The disk_free_space()  function returns the available free space in the bytes.

syntax of disk_free_space() function in PHP


It gives the free space present on the disk in bytes. It works in php4 and php5. 

Here is the code example.

Code for disk_free_space() function in PHP



echo $space1;







Posted on: September 21, 2009 If you enjoyed this post then why not add us on Google+? Add us to your Circles

Share this Tutorial Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.


Advertisement null