RE: [PHP] winNT user
| From: | Dominick Vansevenant | Date: | Tue, 12 Dec 2000 10:39:20 +0000 |
| Subject: | RE: [PHP] winNT user | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-29858@lists.php.net to get a copy of this message | ||
Can it be done in javascript then?
D.
-----Original Message-----
From: Florian Clever [mailto:clever@ukl.uni-freiburg.de]
Sent: dinsdag 12 december 2000 11:35
To: php-general@lists.php.net
Subject: [PHP] winNT user
>> 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).
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net