PHP_AUTH_USER when does the server gives up?

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
User avatar
pelegk2
Forum Regular
Posts: 633
Joined: Thu Nov 27, 2003 5:02 am
Location: Israel - the best place to live in after heaven
Contact:

PHP_AUTH_USER when does the server gives up?

Post by pelegk2 »

when use PHP_AUTH_USER to ask the user for his user name and password
and the user makes a mistake for few times
,the loign box prompts for few times- how does te number of times being controled?can i control the number of time that it will pop up?
thnaks in advvance
peleg
User avatar
JAM
DevNet Resident
Posts: 2101
Joined: Fri Aug 08, 2003 6:53 pm
Location: Sweden
Contact:

Post by JAM »

Unlimited I think, but someone with more experience should answer.

In the meantime, you could add your own database driven check with it...
Each time a user logs in with faulty information, you could add his/her IP (or similiar) to a table in the database. If the user is added more than 5 times during a certain period of time, you header() him/her too google.com instead of displaying the login-box for the 6th time.

I hope I made sence.
d3ad1ysp0rk
Forum Donator
Posts: 1661
Joined: Mon Oct 20, 2003 8:31 pm
Location: Maine, USA

Post by d3ad1ysp0rk »

I believe it's 3, or 2. But I'm not sure how to change the setting.
Post Reply