php disk_free_space and disk_total_space functions_PHP tutorial

WBOY
Release: 2016-07-20 11:00:36
Original
1190 people have browsed it

PHP disk_free_space function and disk_total_space function tutorial, the first function refers to the space returned by the function, in bytes, in the specified directory, and the disk_total_space function returns the total space ​

Definition and usage
The disk_free_space() function returns the free space, in bytes, in the specified directory.

Syntax:

<strong>disk_free_space</strong>(directory)
Copy after login
我们来看看disk_free_space实例吧。
Copy after login
Copy after login
Copy after login
<!--?phpecho disk_free_space("C:");?-->
Copy after login
 
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
输出你硬盘大小。
Copy after login
 
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
12312312313
Copy after login
 
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
下面再来看看disk_total_space函数的教程。
Copy after login
 
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login

Definition and Usage The disk_total_space() function returns the total space, in bytes, in the specified directory. Grammar

<strong>disk_total_space</strong>(directory)
Copy after login
 
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
echo disk_total_space("C:");?>
Copy after login
 
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
Copy after login
方法与<strong>disk_free_space</strong>是一样的吧。
Copy after login

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/445503.htmlTechArticlephp disk_free_space function and disk_total_space function tutorial, the first function refers to the space returned by the function, in bytes , in the specified directory, and the disk_total_space function returns the total...
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template