Debra,
Unfortunately $REMOTE_USER is not set by IIS (atleast not on mine) and to my
knowledge IIS does not support .htaccess files.
But thanks anyway ;-)
Any other ideas out there ?
/Christian
-----Original Message-----
From: samsom, debra [mailto:[EMAIL PROTECTED]]
Sent: 17. september 2001 16:19
To: 'Christian Sandfeld'
Subject: RE: [PHP-WIN] How can I retrieve a users Windows logon name?
Have you looked at .htaccess and using $REMOTE_USER in your PHP code to get
the userid. Under Apache it works great, I'm not sure about IIS.
-----Original Message-----
From: Christian Sandfeld [ mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ]
Sent: Monday, September 17, 2001 7:01 AM
To: 'Ertan Tike'
Cc: '[EMAIL PROTECTED]'
Subject: RE: [PHP-WIN] How can I retreive a users Windows logon name?
Ertan,
Thank you for your speedy reply. I had hoped for some sort of 'pure' PHP
solution, but hey, this might work. I will definately give it a try :)
Meanwhile, if there are others who have an idea how this could be
accomplished through PHP, I would be happy to hear from you.
Regards,
Christian
-----Original Message-----
From: Ertan Tike [ mailto:[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> ]
Sent: 17. september 2001 12:43
To: 'Christian Sandfeld'
Cc: '[EMAIL PROTECTED]'
Subject: RE: [PHP-WIN] How can I retreive a users Windows logon name?
Importance: Low
hi,
i have a attached security verification c++ project (i'm found this in ms
site).
you can compile then exec in php (i'm not sure at this point)
exe giving a exit code.. 0 (invalid) or 1 (valid)..
this is may work.. (cause i'm use same way.. but not under the web..)
-----Original Message-----
From: Christian Sandfeld [ mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
< mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > ]
Sent: Monday, September 17, 2001 12:23 PM
To: '[EMAIL PROTECTED]'
Subject: [PHP-WIN] How can I retreive a users Windows logon name?
Hi group,
Is there any way I can retreive a users Windows logon name?
I'm running a system with IIS 4/PHP 4.0.6/MySQL 3.23.xx.
Basicaly what I'm after is some simple way to verify what user is accessing
our intranet, without having to prompt the user for his initials.
I am aware that this does not provide for much security, but that's ok (I'm
not after security, only after a simple user verification).
I thank you in advance for your time ;-)
/Christian
----------------------------------------------
Christian Sandfeld
Zensys A/S
----------------------------------------------
--
PHP Windows Mailing List ( http://www.php.net/ <http://www.php.net/> <
http://www.php.net/ <http://www.php.net/> > )
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]