Hướng dẫn disk_free_space php - disk_free_space php
Hàm Bài viết này được đăng tại freetuts.net, không được copy dưới mọi hình thức.freetuts.net, không được copy dưới mọi hình thức. Cú phápCú pháp: Trong đó::
Kết quả trả vềHàm sẽ trả về số byte còn trống của hệ thống nếu thành công, ngược lại nếu thất bại hàm trả về False.False. Bài viết này được đăng tại [free tuts .net] Ví dụMột số ví dụ về hàm Code echo $df = disk_free_space("C:/xampp\htdocs") . " Kết quả 62932115456 Tham khảo: php.net (PHP 4 >= 4.1.0, PHP 5, PHP 7, PHP 8) disk_free_space — Returns available space on filesystem or disk partition — Returns available space on filesystem or disk partition Descriptiondisk_free_space(string Parametersdirectory A directory of the filesystem or disk partition.
Return Values Returns the number of available bytes as a float or ExamplesExample #1 disk_free_space() exampledisk_free_space() example
Ghi chú
Wiede tại gmx dot net ¶ ¶ 11 năm trước 629321154560 629321154561 629321154562 Ẩn danh ¶ ¶ 8 năm trước 629321154563 629321154564 629321154565 629321154566 629321154567 629321154562 Sam ¶ ¶ 13 năm trước 629321154569
629321154562 Nitơ ¶ ¶ 15 năm trước
629321154562 Jawira Bồ Đào Nha ¶ ¶ 8 tháng trước
một cái gì đó ¶ ¶ 5 năm trước
Matthieu s ¶ ¶ 5 năm trước
629321154562 Matthieu s ¶ ¶ Pavel tại Sunhater Dot Com ¶
disk_free_space( $directory); 6
|