LOGIN FAIL SCRIPT!

Status
Not open for further replies.

Gibbo

Active Member
Jun 4, 2010
163
27
I was wondering if anyone can help me!!! I need some sort of script so if someone fails to login to there retro account 4 times it will block them from trying for 15 mins.

Thanks, Gibbo ;)
 

brsy

nah mang
May 12, 2011
1,530
272
Well I do not know for sure, but maybe take a look at vBulliten's source, because they block you from logging in for x amount of time if you fail 5 times.
 

Sledmore

Chaturbate Livestreamer
Staff member
FindRetros Moderator
Jul 24, 2010
5,194
3,901
You could do a session to log it each time, count i tupto 4, and then from there on, you'd have to somehow whip up a timer maybe in another session(not sure?) and just block them or do a script to log it, then remove it.
 

langer6

Member
Dec 2, 2010
43
3
Try using the date and time feature. Store the date + time in the Cookie and do something like
if{$currenttime >= $_SESSION['time'] + {ban time}) {
}
Not sure if that is right way of doing it.
 

Jo$h

Posting Freak
Jul 7, 2010
1,030
79
Try using the date and time feature. Store the date + time in the Cookie and do something like
if{$currenttime >= $_SESSION['time'] + {ban time}) {
}
Not sure if that is right way of doing it.
If They Cleared their Cookies, they would be able to log in again.

Hook into the already existing ban system, and have it issue a ban for 15 minutes, that way, it properly logs everything without you having to muck around too much.
 
Status
Not open for further replies.

Users who are viewing this thread

Top