This var means something else
when you write the following code:
    Header("WWW-Authenticate: Basic realm=\"Enter username and password\"");
    Header("HTTP/1.0 401 Unauthorized");
Your browser will produce a popup requesting a username an password

This it what you get returned when using $_SERVER['AUTH_USER']




"Gabor NiederläNder" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi!
>
> I have installed a Apache Server (+php) in a Windows NT network. I
> would like to identify the Windows NT user visiting my php pages.
> When I was using IIS, I think it was quite easy to find it out through
> the $_SERVER['AUTH_USER'] variable. But it doesn't seem to work with
> apache. Is there another way?
>
> Cheers,
> Gabor

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

Reply via email to