Hmm... I'm guessing you could take that variable, do an explode on the
\ and add the @domain.ext, that is if you know the extension. That
should work for my purposes at least.
Thanks,
Matt
> The $_SERVER["REMOTE_USER"] method works ok, but returns the
> old Win 2000 style DOMAIN\username, r
I just tried my JS/ActiveX/PHP script on a PHP5 server using the ISAPI
module in IIS and it didn't work at all. Works fine under my PHP4
server using the CGI module. I don't understand what the difference
would be, but maybe someone could fill me in. Until further notice, I
retract my code because
I believe what you're looking for is:
$_SERVER["REMOTE_USER"]
However, it'll only work if the client is authenticated - if you allow
anonymous access to the web site, the client will not be authenticated, so
there's no Windows username to get (you can check the logs to find out).
The details var