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
PHP_AUTH_USER when does the server gives up?
Moderator: General Moderators
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.
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