*blog... kind of... *rss 



AntiSPAM system, part2
For those who didn't move to the darkside yet (wordpress, blogger, ..) and are still developing his own blog system (right now I think that i'm the only one doing it (well, sole too)), here is what I did to stop the SPAM I was receiving as comments. For doing this sole was moderating all the comments one by one, I didn't want to do that, then I started to receive SPAM, and she told me to only accept comments from known people, from names that are already on the list. I didn't like the idea either.

So what I decided to do was just saving the IPs and realized that they always use the same IP. That was clear then, I added another field in the mysql database indicating if the comment was SPAM or not, and then when anyone adds a comment, the system checks if the IP is in the database, if the IP was flagged up as SPAM, it will leave it in the database but flagged up as SPAM too. If the IP is new or already in the database but without any SPAM indication it goes directly adds to the database and shows the comment.

After having the idea and developing it, sole, again, told me that it's the same system that wordpress uses. And by now it works, sometimes there is a new SPAM with a new IP that I have to flag up as SPAM, but it's much better than moderating comment by comment. Tho not too many people writes here :P
2 comments written so far...

The "best" way is still adding a hidden field with a random number with javascript. If the script adding the comment receives that same number then it'll accept the message without moderation, else it will add it to a moderation list.

Most spam bots don't parse javascript at all.

Of course, it's not a final solution, and could be added to your solution aswell :)
prueba desde el curro... soy spam? :D

Have your say!



Name:

Website:

Comment: