PDA

View Full Version : Idea against spam


Absynthe
06-20-2006, 07:58 PM
I thought about a thing, it's maybe useless because I really don't know how a spam robot works but I want your opinion anyway.

So I think It could be interesting to check the headers sent by the users' browser with $_SERVER['HTTP_USER_AGENT'] to be sure a comment is posted with a real browser.

Of course if robots imitate real browsers headers it's completely useless.
So I want your opinion.

Regards.

GeoS
06-20-2006, 09:49 PM
We are thinking on the better one based on JavaScript.

raminia
06-20-2006, 11:33 PM
your idea is similar to the idea of bad behavior (www.homelandstupidity.us/software/bad-behavior/) anti spam tool. there is an addon from its earlier version. Bad behavior now is in the version 2.0 stage.

jdleung
06-21-2006, 03:47 AM
We are thinking on the better one based on JavaScript.
GeoS, how to do that?
is there a try version?

GeoS
06-21-2006, 12:59 PM
Not yet.

You can use some complicate for BOTs JS code i.e. based on AJAX. I got such solution on my site. I had SPAM problem but it was quite small looking on this problem on other PP blogs. Not I got completle no SPAM.

jdleung
06-25-2006, 09:17 AM
can we make one more javascript popup confirm before save the comment?

when click "add" comment -> popup confirm window "do you want to add the comment?" -> save after click "yes"

can this stop the spam?

GeoS
06-25-2006, 03:06 PM
We can do it always but IMHO POPUPs are really bad idea. Many people block them or kill every showing up. One more question wont do the big change. BOTs can get idea for it much faster then to other mechanisms.

jdleung
06-25-2006, 04:21 PM
GeoS, do you think the capcha addon is the best solution?
how about yours?
can give me a copy?

GeoS
06-26-2006, 07:18 AM
IMHO Captcha isnt the best because it needs additional move from user to post comment.
I can send you - please PM me at my evening (within next 12h) but it is very unstandard solution and there are more mods from clear /index.php file and few more.