|
update : 2015.11.03
php.shukuma.com검색:
|
posix_getpwuid(PHP 4, PHP 5) posix_getpwuid — Return info about a user by user id 설명
array posix_getpwuid
( int
$uid
)Returns an array of information about the user referenced by the given user ID. 인수
반환값Returns an associative array with the following elements:
예제
Example #1 Example use of posix_getpwuid()
<?php위 예제의 출력 예시:
Array
(
[name] => tom
[passwd] => x
[uid] => 10000
[gid] => 42
[gecos] => "tom,,,"
[dir] => "/home/tom"
[shell] => "/bin/bash"
)
|