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? Quote Link to comment 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!'); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.