How to get the disk space on a server?

岁酱吖の 提交于 2019-11-29 04:12:22

disk_free_space - Will return you the number of bytes available on the filesystem or disk partition.

disk_total_space - Will return you the number of total bytes (i.e. capacity) on the filesystem or disk partition.

Try disk_total_space function

float disk_total_space ( string $directory )

http://php.net/manual/en/function.disk-total-space.php

you can try disk_free_space()

You can use disk_free_space

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!