disk_free_space

disk_free_space

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

disk_free_spaceReturns available space on filesystem or disk partition

Description

float disk_free_space ( string $directory )

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

Parameters

directory

A directory of the filesystem or disk partition.

登录查看完整内容