Re: Why not user...?
| From: | Gustav Wiberg | Date: | Mon, 27 Aug 2007 13:57:42 +0000 |
| Subject: | Re: Why not user...? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-261363@lists.php.net to get a copy of this message | ||
Hi!
Thanx!
I figured it out. The username wasn't in server-variable PHP_AUTH_USER but in AUTH_USER ....
Best regards
/Gustav Wiberg
----- Original Message ----- From: "Stut" <stuttle@gmail.com>
To: "Gustav Wiberg" <gustav@hmn.se>
Cc: "PHP General" <php-general@lists.php.net>
Sent: Monday, August 27, 2007 3:51 PM
Subject: Re: [PHP] Why not user...?
Gustav Wiberg wrote:Why is it so that I get this error. I'm using Windows Integrated authorization-method for actual webb I'm testing on. Notice: Undefined index: PHP_AUTH_USER in C:\www\utveckling\username.php on line 2For some reason it's not getting set. This could be because you've not configured IIS correctly, are you sure you've disabled anonymous authentication? If you're sure it's configured correctly try var_dump'ing $_SERVER - it's possible (though unlikely) the username is in another place. -Stut -- http://stut.net/