Connecting Tech Pros Worldwide Help | Site Map

IIS won't prompt for authentication with PHP?

  #1  
Old July 17th, 2005, 01:52 PM
frogball
Guest
 
Posts: n/a
Hi all,

I'm new to this group and have been using PHP for a short amount of
time. I've come across a strange problem which doesn't seem to be
addressed in any other posts (as far as I can tell.)

I am running IIS 5.0 on Win2k with PHP version 5.0.4 in ISAPI mode. In
IIS I have set the security to use Basic, Digest and Integrated with
Anonymous disabled.

When I point to a PHP file I do not get prompted for a username and
password. When I point to any other type of file, like .pl or .html, I
get prompted.

Anyone have any clue as to why it's acting this way?

Thanks...

Frogball

  #2  
Old July 17th, 2005, 01:52 PM
frogball
Guest
 
Posts: n/a

re: IIS won't prompt for authentication with PHP?


Never mind. I figured out that it was using the Integrated
authenticaion but I thought it wasn't working because the $REMOTE_USER
var was empty. I now know that I have to use $_SERVER['REMOTE_USER'].

Sorry for the noise!

Frogball

Closed Thread