[PHP] Re: Auth_User

2004-06-21 Thread Gabor Niederländer
If you are using IIS with PHP as an ISAPI-module, it is possible to find out the NT-User through $_SERVER['AUTH_USER']. Apparently it is not so easy on Apache. Does anyone know a solution? Gabor Gerben [EMAIL PROTECTED] schrieb im Newsbeitrag news:[EMAIL PROTECTED] This var means something

[PHP] Re: Auth_User

2004-06-20 Thread Gerben
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