Bonesnap;11006632 wrote: If there's a failed login attempt, check to make sure the user name exists. If it does, increase their failed attempts. If it doesn't then don't do anything since there's nothing to do. If the failed attempts exceeds the threshold then change the status of that user name.
Ok, I appear to have a functional routine now, so thx for the suggest, Bonesnap. To add to security, I was also considering doing a counter on how many log-in attempts there have been in, say, 5 seconds. If it exceeds 10, it would be fair to say, that we are dealing with a bombarding non-human agent trying it's luck at the site, correct?
Also, did something happen to error handing while I was away? I have:
ini_set('error_reporting', E_ALL);
ini_set('display_errors', ON);
error_reporting(E_ALL);
- at the top of my file, but I only get a blank white page in the browser on syntax errors, no error information. Makes it a bit steep to get back into coding
again.
Thx for all the replies so far, much appreciated.