Re: determine logged in user
| From: | Justin Patrin | Date: | Tue, 16 Mar 2004 21:26:56 +0000 |
| Subject: | Re: determine logged in user | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-180602@lists.php.net to get a copy of this message | ||
Ashley wrote:
This is not what I am looking for. I do not want a username/password dialog box. I want it to determine the username from who is logged into the computer and not to prompt for a username and password. I already knew how to generate a dialog box for this, but I want this to be done behind the scenes. Ashley Jay Blanchard wrote:Try looking in the $_ENV array. Might be in there. -- paperCrane <Justin Patrin>[snip] Can PHP determine the username of the person currently logged into a Windows 2K machine? If so, could someone please point me to some tutorials or post the necessary code, because I cannot find anything about this. [/snip] see the manual http://us2.php.net/features.http-auth