How to avoid the background of the website, the robot brushes the interface?

for example, I have a page click statistics function. Could you tell me how to avoid being brushed by the program?

if someone uses the machine to swipe the interface, will the server be killed and down ~


CAPTCHA, because it is difficult to distinguish between person and machine in other ways, only the number of visits can be distinguished.


according to the number of clicks on a page in one minute, for example, if you click more than 50 times or 60 times, the data will not be recorded.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b36876-2c012.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b36876-2c012.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?