Bravo List
Register
Go Back   > Bravo List > Source Code > Active Trackers > Torrent Trader
Reply
  #1  
Old 18th February 2014, 18:02
dumorim dumorim is offline
Senior Member
 
Join Date: Dec 2010
P2P
Posts: 30
Default 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';
}
?>
Reply With Quote
Reply

Tags
search , temp

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 10:56. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.