Forum Moderators: coopster
I have a new problem. Last night an automated script hit my site and ran up over 240 clicks. The links they clicked will eventually be based on PPC and if that happened it would have cost our advertisers money for no reason.
I already have it checking the IP and UserAgent which it's recording in the DB. If the same IP / UserAgent clicks the same ad twice within a 30 min period the second click doesn't deduct payment.
The problem with the automated script that hit the site is that it went through all the different links and clicked each one once.
I was thinking that I should put some logic to check for excessive clicks in a time period then somehow "BAN" that user. How would you ban them? Just in the PHP or put a ban in the .htaccess if so how would you insert the IP's to ban in the .htaccess automatically?
Best Regards,
Nick