disk_free_space

$df = disk_free_space('/')/1024/1024/1024;
$df_c = disk_free_space("c:");
$df_d = disk_free_space("d:");
echo $df,'-',$df_c,'-',$df_d;

 

posted @ 2016-09-13 09:48  papering  阅读(176)  评论(0编辑  收藏  举报