[PHP] Getting the username

2002-12-19 Thread Manuel Ochoa

I'm developing an Intranet at my company and was wondering if there is any way to get 
the username from someone who is already logged into a Windows network?



Re: [PHP] Getting the username

2002-12-19 Thread 1LT John W. Holmes
 I'm developing an Intranet at my company and was wondering if there is any
way to get the username from someone who is already logged into a Windows
network?

I think $_SERVER['LOGON_USER'] or maybe $_ENV['LOGON_USER'] or something
similar. I think you have to use NT permissions on the directory in order
for this variable to be present, though. There is some setting in (assuming)
IIS that you have to make, but I can't remember exactly what it is.

That was probably no help at all, eh?

---John Holmes...


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php