note 52171 added to function.get-current-user
| From: | comicforum at lelon dot net | Date: | Fri, 22 Apr 2005 21:51:45 +0000 |
| Subject: | note 52171 added to function.get-current-user | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-88425@lists.php.net to get a copy of this message | ||
Under windows, this function does not work the same in Apache as it does in IIS. If you want the
user name in apache, you have to use...
getenv("REMOTE_USER");
----
Manual Page -- http://www.php.net/manual/en/function.get-current-user.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+52171
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+52171&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+52171&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+52171&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+52171&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+52171&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+52171&report=yes
Search -- http://master.php.net/manage/user-notes.php