Home >Backend Development >PHP Tutorial >访问文件常见属性_PHP

访问文件常见属性_PHP

WBOY
WBOYOriginal
2016-06-01 12:30:17942browse



访问文件常见属性





 print("文件的所有者(UID 值):");
 print(fileowner("data.txt")."
");
 print("文件的大小:");
 print(filesize("data.txt")."
");
 print("文件的类型:");
 print(filetype("data.txt")."
");
?>




Statement:
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