posix_getpwnam(PHP 4, PHP 5) posix_getpwnam — Return info about a user by username Описание
array posix_getpwnam
( string $username
)
Returns an array of information about the given user. Список параметров
Возвращаемые значенияOn success an array with the following elements is returned, else FALSE is returned:
Примеры
Пример #1 Example use of posix_getpwnam()
<?phpРезультатом выполнения данного примера будет что-то подобное:
Array
(
[name] => tom
[passwd] => x
[uid] => 10000
[gid] => 42
[geocs] => "tom,,,"
[dir] => "/home/tom"
[shell] => "/bin/bash"
)
|
||||||||||||||||||