RE: [PHP-WIN] using PHP to find out windows user name?
| From: | Mikey | Date: | Thu, 14 Aug 2003 18:19:44 +0000 |
| Subject: | RE: [PHP-WIN] using PHP to find out windows user name? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-21155@lists.php.net to get a copy of this message | ||
If you are running from IIS, you can switch off anonymous access (found in
Directory Security) and then access $_SERVER['AUTH_USER']. If you are using
Apache, I wouldn't have a clue...
HTH,
Mikey
> -----Original Message-----
> From: Chen, Mao [mailto:mchen@ligand.com]
> Sent: 13 August 2003 23:25
> To: php-windows@lists.php.net
> Subject: [PHP-WIN] using PHP to find out windows user name?
>
>
> Hi Everyone,
>
>
>
> I'm just wondering whether we can use PHP to find out the name of user
> who is currently logging on to local Windows computer and accessing a
> particular .php web page.
>
>
>
> Thanks in advance.
>
>
>
>