Re: using PHP to find out Windows user name?
| From: | John W. Holmes | Date: | Thu, 14 Aug 2003 02:14:13 +0000 |
| Subject: | Re: using PHP to find out Windows user name? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-29875@lists.php.net to get a copy of this message | ||
Chen, Mao wrote:
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.Turn off anonymous browsing in IIS and you can use $_SERVER['LOGON_USER'] -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ PHP|Architect: A magazine for PHP Professionals – www.phparch.com