显示下拉菜单

fileowner()

« filemtime | filter_has_var »
<?php
$int 
fileowner (
    
  // string $filename
);

// shows the user information
if ($int !== false and function_exists("posix_getpwuid")) {
    
$array posix_getpwuid($int);
}
?>
结果
$int = false
PHP warning : fileowner(): stat failed for /path/to/foo.txt
示例
#1 fileowner  ("/home/micmap/cgi-bin/php-by-example/functions/f/fileowner.php")
#2 fileowner  ("/path/to/foo.txt")
另请参阅
filegroup, function_exists, getmyuid, posix_getpwuid