enhanced system access lock |
1/1/2009 5:25:56 PM |
PHPRunner General questions | |
![]() How can I add the user to this solution to only block the user+IP address and not block all the users using the same IP. |
|
J
|
Jane 1/5/2009 |
Hi, ... $sql = "select Attempts, LastLogin from LoginAttempts where ip = '" . $_SERVER["REMOTE_ADDR"] . "'and UserName='".$username."'"; ... db_exec("update LoginAttempts set Attempts=0 where ip = '" . $_SERVER["REMOTE_ADDR"] . "'and UserName='".$username."'",$conn); ... |