Share on Google+Share on Google+

Find total disk space in PHP, php disk_total_space, disk_total_space

How to find the total disk space in PHP program. Learn how you can use disk_total_space() function in PHP to find the total disk space.

Learn How to Get the total disk space in PHP Program.

In this PHP Tutorial example we will use the disk_total_space() function in our PHP code to find the total disk space.

syntax disk_total_space() Function PHP


Gives the total space present on the disk in bytes in the specified directory.

Code for disk_total_space() Function PHP



echo $space2;






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