StormTheGates Posted May 15, 2007 Share Posted May 15, 2007 I have a login script, and recently someone made a script in VB that tries to login 1000s of times. This has the problem of opening 1000s of connections to my MYSQL db. Any ideas how I can block this without a script check? Link to comment https://forums.phpfreaks.com/topic/51530-connection-spamage/ Share on other sites More sharing options...
taith Posted May 15, 2007 Share Posted May 15, 2007 just put a session counter... $_SESSION[logincounter]++; onto your login script... then on your loginsript say if($_SESSION[logincounter]>10) die('FIND SOMETHING BETTER TO DO!'); Link to comment https://forums.phpfreaks.com/topic/51530-connection-spamage/#findComment-253773 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.