$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;