php 查看硬盘信息

php

2009-11-14 17:11

echo disk_total_space("d:/")/1024/1024/1024;
exit();//硬盘空间大小

echo disk_free_space("d:/")/1024/1024/1024;
exit();//硬盘剩余空间