Home Tutorial Php Phpfiles diskfreespace php, Find free disk space from PHP program

 
 

Share on Google+Share on Google+
diskfreespace php, Find free disk space from PHP program
Posted on: September 21, 2009 at 12:00 AM
Advertisement
Find the free disk space in PHP Program. This example shows you how to find the free disk space using diskfreespace() function in PHP.

The Example of freediskspace() function in php. The following examples we will shows how you can find the free disk space from your php program.

Description about freediskspace() Function PHP

syntax

diskfreespace(directory_path)

gives the free space present on the disk in bytes

works same as the function disk_free_space()

works in php4 and php5

Code for freediskspace() Function PHP

<?php

$space3=diskfreespace("c:\\xampp");

echo $space3;

?>

Output

57459314688

 

Advertisement

Related Tags for diskfreespace php, Find free disk space from PHP program:


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.

Posted on: September 21, 2009

Recommend the tutorial

Advertisements Advertisements
 

 

 

DMCA.com