note 39762 added to function.posix-getlogin
| From: | philip at rn2 dot php dot net | Date: | Mon, 09 Feb 2004 23:31:13 +0000 |
| Subject: | note 39762 added to function.posix-getlogin | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-64920@lists.php.net to get a copy of this message | ||
Note that this function returns the owner that the process *started* as. Even if you call
posix_setuid (or posix_seteuid) it will still report the username the process started as.
use get_current_user() to get the effective real user.
----
Manual Page -- http://www.php.net/manual/en/function.posix-getlogin.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+39762
Delete -- http://master.php.net/manage/user-notes.php?action=delete+39762&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+39762&report=yes
Search -- http://master.php.net/manage/user-notes.php