PHP disk_free_space() Function

PHP disk_free_space Function


Definition :

In the disk_free_space() function is used to gives how much free space available in specified disk(directory). Which function is returns two out puts that are TRUE and FALSE.

Syntax

   disk_free_space(directory)

Parameter 
Parameter Description
directory Required. Specifies the filesystem or disk to check

Given below example Return the free space, in bytes, of the C: directory:

Output : 103505719296