Showing posts with label server space. Show all posts
Showing posts with label server space. Show all posts

Saturday, 6 September 2014

how to find server space in php?

// $ds contains the total number of bytes available on "/"
$ds = disk_total_space("/");

// On Windows:
$ds = disk_total_space("C:");
$ds = disk_total_space("D:");