PHP  
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  
<filemtimefileperms>
Last updated: Mon, 16 Jul 2012

fileowner

(PHP 3, PHP 4, PHP 5)

fileowner -- 取得文件的所有者

说明

int fileowner ( string filename )

返回文件所有的用户 ID,如果出错则返回 FALSE。用户 ID 以数字格式返回,用 posix_getpwuid() 来将其解析为用户名。

注: 本函数的结果会被缓存。详细信息参见 clearstatcache()

注: 本函数不能作用于远程文件,被检查的文件必须通过服务器的文件系统访问。

参见 stat()




<filemtimefileperms>
 Last updated: Mon, 16 Jul 2012
 
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://manual.phpv.net/
Last updated: Thu Jul 7 19:13:47 2005 CST