PHP » GoLang |
login |
register |
about
|
posix_getpwuid(PHP 4, PHP 5, PHP 7) posix_getpwuid — Return info about a user by user id Description
array posix_getpwuid
( int
$uid
)Returns an array of information about the user referenced by the given user ID. Parameters
Return ValuesReturns an associative array with the following elements:
Examples
Example #1 Example use of posix_getpwuid()
<?php The above example will output something similar to: Array ( [name] => tom [passwd] => x [uid] => 10000 [gid] => 42 [gecos] => "tom,,," [dir] => "/home/tom" [shell] => "/bin/bash" ) |
more
Recently updated
more
Most requested
more
Last requests
|