Interesting problem

2007-10-09

With the spamattack last night on my blog the hunt is on. I've taken several countermessures to prohibit bots using the same script to spam some more. Of course you can never prohibit botowners from adjusting their script, but I've got some ideas up my sleeve.During the hunt for spammers I encountered something odd. My statisticscript logs IP's, exactly for this reason, to ban them when required. Fact of the matter is that the script the IP gets by:
Code:
$ip = $_SERVER['REMOTE_ADDR'];if (strstr($ip, ", " )) {