Hello.
I have seen this in many places, but one of the ones that most pertains to what I need is here
It is What.CD's login form. I am wondering how I could duplicate this, as it gives you six attempts, and if you fail that many times, it bans you for 6 hours.
Any Idea on how to do this.
I was thinking of cookies for the six failed login attempts, and then having a table for the IP of the failed login attempts. And every time the script loads, it checks the time since the IP was inserted and if it is more than say 2 hours, then it deletes it allowing the user to login, but if it hasn't been that long, they receive an error giving them the number of minutes left.
Does this seem like a sensible way to do this, or is there better.
This is open for any and all idea's, but I would like for the most efficient way.
Thanks in advance for any idea's or submissions.