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" <[EMAIL PROTECTED]>
To: "Gustav Wiberg" <[EMAIL PROTECTED]>
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 2
For 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/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php