PHP fileowner() 函数
PHP 教程
· 2019-01-24 23:27:20
定义和用法
fileowner() 函数返回指定文件的用户 ID(所有者)。
如果成功,该函数返回用户 ID。如果失败,则返回 FALSE。
语法
fileowner(filename)
| 参数 | 描述 |
|---|---|
| filename | 必需。规定要检查的文件。 |
提示和注释
注释:该函数的结果会被缓存。请使用 clearstatcache() 来清除缓存。
注释:该函数不能在 Windows 系统上运行。
提示:请使用 posix_getpwuid() 来把用户 ID 转换为用户名。
实例
<?php
echo fileowner("test.txt");
?>
点击查看所有 PHP 教程 文章: https://www.codercto.com/courses/l/5.html
Java Servlet & JSP Cookbook
Bruce W. Perry / O'Reilly Media / 2003-12-1 / USD 49.99
With literally hundreds of examples and thousands of lines of code, the Java Servlet and JSP Cookbook yields tips and techniques that any Java web developer who uses JavaServer Pages or servlets will ......一起来看看 《Java Servlet & JSP Cookbook》 这本书的介绍吧!