PHP Filesystem 函数
disk_free_space() 函数返回目录中的可用空间
</>codedisk_free_space(directory)
directory 参数是一个目录的字符串。该函数将根据相应的文件系统或磁盘分区返回可用的字节数。
</>code<?phpecho disk_free_space("C:");?>
输出:
</>code209693288558
如对本文有疑问,请提交到交流论坛,广大热心网友会为你解答!! 点击进入论坛