MyBB Community Forums

Full Version: flood plugin.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi friends.

I use the plugin : anti flood

// anti flood protection
IF($_SESSION['last_session_request'] > TIME() - 0.1){
    // users will be redirected to this page if they make requests faster than 3 seconds
    HEADER("location: /403.html");
    EXIT;

I want to make it to 5 seconds how.

if anyone could give me information on how to use the formula of time.

I saw 0.1 = 3s
how can i get this value

please help.
obviously, have you tried changing the numeral in IF($_SESSION['last_session_request'] > TIME() - 0.1) (change to 0.2 etc.)
okey .m.

I'll give it a try.