Re: Capturing Windows Login Name
- From: Manuel Lemos <mlemos@xxxxxxx>
- Date: Sat, 02 Feb 2008 19:52:23 -0200
Hello,
on 02/02/2008 07:25 AM K. A. said the following:
I know it is not possible to get Windows login name using PHP because
it is a server-side script, but I dunno whether anyone has tried using
This is not accurate, the Windows logon name is passed to servers by
several browsers (not just IE) when servers ask for Windows NTLM
authentication.
You just need to configure your Web server to require Windows
authentication, and you get the current logged user logon name using
GetEnv('LOGON_USER'); .
Forget Javascript, it would never work.
--
Regards,
Manuel Lemos
PHP professionals looking for PHP jobs
http://www.phpclasses.org/professionals/
PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/
.
- Follow-Ups:
- Re: Capturing Windows Login Name
- From: Jerry Stuckle
- Re: Capturing Windows Login Name
- References:
- Capturing Windows Login Name
- From: K. A.
- Capturing Windows Login Name
- Prev by Date: php file upload progress
- Next by Date: Re: php file upload progress
- Previous by thread: Re: Capturing Windows Login Name
- Next by thread: Re: Capturing Windows Login Name
- Index(es):
Relevant Pages
|