只要在下列程式外加上:
一、重覆點選URL的次數;在
二、N 秒時間內(這個較簡單,類似)
以下追蹤來自同一來源之Hits
# where is referrer coming from?
$referer = $ENV{'HTTP_REFERER'};
# if referrer not exactly from the url described in 'detect' then redirect to 'incorrect'
if ($referer =~m#$detect#) {
print "Location: $correct\n\n";
} else {
print "Location: $incorrect\n\n";
}