Connecting Tech Pros Worldwide Help | Site Map

IIS won't prompt for authentication with PHP?

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 17th, 2005, 12:52 PM
frogball
Guest
 
Posts: n/a
Default IIS won't prompt for authentication with PHP?

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, 12:52 PM
frogball
Guest
 
Posts: n/a
Default 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

 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.