winNT user
| From: | Florian Clever | Date: | Tue, 12 Dec 2000 10:35:07 +0000 |
| Subject: | winNT user | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-29856@lists.php.net to get a copy of this message | ||
>> how can I see with my webapp in php which user on the windows NT client is
>> logged on? On Windows and on linux?
>
>Put this in a PHP file and surf to it:
><?php phpinfo();?>
>
>This screen will show you everything there is to show.
>
>If you don't see your username, then the browser and server are not
>providing it.
>
>I don't think username on the end-user's computer is sent to the server.
$HTTP_SERVER_VARS["remote_user"] contains the user name if you are
authenticated. Thus if you are allowing anonymous connections it will
not be set.
Florian
--
Florian Clever
fc@clever-soft.com
http://www.Clever-Software-Solutions.de/
PGP Key @ ldap://certserver.pgp.net/
2 + 2 = 4 (for the time being).