disk_total_space
Returns the total size of the file system or disk partition
disk_total_space()
function returns the total disk size of the specified directory.
<?php echo disk_total_space ( "C:" ) ; ?>
The output looks like this:
509693888668
disk_total_space ( directory )
parameter | describe |
---|---|
Directory | Required. Specify the directory to be inspected. |
The directory parameter is a directory string. This function will return all bytes based on the corresponding file system or disk partition.