473,387 Members | 1,582 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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

Jul 17 '05 #1
1 1396
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

Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: HH | last post by:
I'm learning to design web applications with php, mysql, and apache from a book. I copied a sample application called guestbook 2000 that came with the CD in the book to my htdocs folder, but...
11
by: Ghazan Haider | last post by:
I am posting this for the lack of a better newsgroup, and for the knowledge of people here, and because its only partially OT. We have a bunch of users with their computers at work. There are...
6
by: Magnus Jardeby | last post by:
I have a problem with basic authentication. I redirect a user from a page to another. I don't want to get the NT prompt login, I want the user to be logged in automatically. I want to send the...
1
by: VJ | last post by:
Hi, IIS raises login dialog box prompt on browser for resources protected using basic authentication. That login prompt gives user 3 attempts to enter correct userid/password. IIS throw 401.1...
2
by: Dmitri Priimak | last post by:
Hi All. There is one thing which somewhat annoys me, which is that psql always prompts me for a password. That makes it difficult for use in Makefile where I want to say 'make build_db', which...
0
by: Geraldo Thomaz Jr. | last post by:
I am implementing basic authentication in my webservice. Due to this, I must implement some kind of prompt for authentication on my client implementation(windows forms application). I wanted to...
2
by: jdstroud | last post by:
I have an asp.net application on our intranet, and I am trying to use windows authentication. My problem is that I would like to get the user's credentials without having the login / password...
2
by: Saray | last post by:
Hi iam using iis 5. My system is not in domain. Also i enabled my integrated windows authentication. Once i enter into my site it prompt for authentication its fine but while i uploading a big file...
0
by: David C | last post by:
I have an asp.net 2.0 internal web application that uses authentication mode="Windows" and identity impersonate="true" with a userName and password. Our photos (mostly jpg files) are stored on a...
0
by: arkascha | last post by:
Helloooo everyone, I have a problem with a small solution I made some three or four years ago. Worked flawless until deployed onto newer machines now and guess what, I cannot fix it. Maybe some...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.