php disk_free_space 函数与disk_total_space 函数教程,第一个函数是指函数返回的空间,以字节为单位,在指定的目录,而disk_total_space 函数返回的总空间
该disk_free_space ( )函数返回的自由空间,以字节为单位,在指定的目录。
disk_free_space(directory)
我们来看看disk_free_space实例吧。
php // by http://www.manongjc.com/article/1324.html echo disk_free_space("C:"); ?>
输出你硬盘大小。
12312312313
下面再来看看disk_total_space函数的教程。
该disk_total_space ( )函数返回的总空间,以字节为单位,在指定的目录。
disk_total_space(directory)
实例:
php // by http://www.manongjc.com/article/1324.html echo disk_total_space("C:"); ?>
方法与disk_free_space是一样的吧。
已抢140774个
抢已抢4583个
抢已抢7082个
抢已抢11487个
抢