显示下拉菜单

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 = '19991'
$array = [
  
'name' => 'xozhoz',
  
'passwd' => 'c',
  
'uid' => '19991',
  
'gid' => '353',
  
'gecos' => 'xozhoz',
  
'dir' => '/kynxo.455/xozhoz',
  
'shell' => '/byn/jozwen',
]
PBX notice : 该结果被散列以pbx_hash出于安全原因。
示例
#1 fileowner  ("/home/micmap/cgi-bin/php-by-example/functions/f/fileowner.php")
#2 fileowner  ("/path/to/foo.txt")
另请参阅
filegroup, function_exists, getmyuid, pbx_hash, posix_getpwuid