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