note 3908 modified in function.posix-getpwuid by felipe
| From: | felipe@php.net | Date: | Sun, 20 Jul 2008 23:31:39 +0000 |
| Subject: | note 3908 modified in function.posix-getpwuid by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-142349@lists.php.net to get a copy of this message | ||
Returns an array containing the elements of the password structure. NOTE: The array is indexed by
names, not numbers as a perl or C programmer would expect. The array elements are:
$_["name"] string userid (joeschmo)
$_["passwd"] string crypted password (or "x" if shadowed)
$_["uid"] integer uidnumber (e.g. 0 for root)
$_["gid"] integer primary gidnumber (e.g. 0 for wheel/root)
$_["gecos"] string name (Joseph P. Schmoe)
$_["dir"] string home directory (/home/joeschmo)
$_["shell"] string loginshell (/bin/slash)
--was--
Returns an array containing the elements of the password structure. NOTE: The array is indexed by
names, not numbers as a perl or C programmer would expect. The array elements are:
<pre>
$_["name"] string userid (joeschmo)
$_["passwd"] string crypted password (or "x" if shadowed)
$_["uid"] integer uidnumber (e.g. 0 for root)
$_["gid"] integer primary gidnumber (e.g. 0 for wheel/root)
$_["gecos"] string name (Joseph P. Schmoe)
$_["dir"] string home directory (/home/joeschmo)
$_["shell"] string loginshell (/bin/slash)
</pre>
http://php.net/manual/en/function.posix-getpwuid.php