Page 1 of 1

Do PHP_AUTH_USER different with IIS ?

Posted: Mon Jul 20, 2009 1:41 pm
by styvodiabolo
Hello !

I would like to display a secure stats page with PHP_AUTH_USER security.

On the one hand, if the server is with wamp, a dialog box display
A username and password are being requested by http://xxx. The site says: "Secure Stats"
then I write my login and password and there's no problem.

On the other hand, if the server is IIS, then a dialog box display
Enter username and password for http://xxx
but the sentence
The site says: "Secure Stats"
isn't display. Anyway, with this other dialog box when I write login / password it doesn't work...

But more weird, if I cancel the first dialog box (always with IIS) an other come on and then display the "right" message
A username and password are being requested by http://xxx. The site says: "Secure Stats"
and only then I can log in.

Do you have any suggest to display the "good" dialog box in first with IIS ?

Thanks a lot !

Steve.