disk_total_space()
disk_total_space - Returns the total size of a filesystem or disk partition
Syntax
float disk_total_space (
string $directory)
Arguments
- directory - A directory of the filesystem or disk partition.
Description
Given a string containing a directory, this function will return the total number of bytes on the corresponding filesystem or disk partition.
Version
PHP 4.1.0, 5
Return value
Returns the total number of bytes as a float or FALSE on failure.