The diskfreespace() function returns the free space in bytes for the specified directory.
This function is an alias for the disk_free_space() function.
diskfreespace(directory)
| parameter | describe |
|---|---|
| directory | Required. Specifies the directories to be checked. |
<?phpecho diskfreespace("C:");?>The above code will output:
109693288448