|
#1
|
|||
|
|||
temp search
I would ask of you to help put this code in torrents-search.php to prevent the flow on my website so the user after making the first poll he has waiting 10 more seconds to make another
PHP: <?php if(!isset($_COOKIE['search_temp'])){ setcookie('search_temp',time()+10); }else{ echo 'You can only do a search every 10 seconds'; } ?> |
Tags |
search , temp |
|
|