disk_total_space

disk_total_space

(PHP 4 >= 4.1.0, PHP 5, PHP 7)

disk_total_spaceReturns the total size of a filesystem or disk partition

Description

float disk_total_space ( string $directory )

Given a string containing a directory, this function will return the total number of bytes on the corresponding filesystem or disk partition.

Parameters

directory

A directory of the filesystem or disk partition.