Comment forms and spamming
Comment forms and spamming
am 16.10.2007 20:41:59 von Mike
I've created a form on a web site that asks for users comments. I am
not asking anyone to register or login but I do ask them for an email
address which is then checked for existence. After a few weeks I
noticed lots of bogus advertising/spam comments from bogus Ids.
I tried checking to see if the HTTP_REFERER was from my site before
allowing the PHP code to update the MySQL tables but that didn't seem
to work.
Are there any tricks to stopping this kind of behavior?
Thanks.
Re: Comment forms and spamming
am 16.10.2007 20:47:11 von luiheidsgoeroe
On Tue, 16 Oct 2007 20:41:59 +0200, Mike wrote:
> I've created a form on a web site that asks for users comments. I am
> not asking anyone to register or login but I do ask them for an email
> address which is then checked for existence. After a few weeks I
> noticed lots of bogus advertising/spam comments from bogus Ids.
>
> I tried checking to see if the HTTP_REFERER was from my site before
> allowing the PHP code to update the MySQL tables but that didn't seem
> to work.
>
> Are there any tricks to stopping this kind of behavior?
Captcha
--
Rik Wasmus
Re: Comment forms and spamming
am 16.10.2007 23:41:00 von Puckdropper
"Rik Wasmus" wrote in
news:op.t0azsxob5bnjuv@metallium.lan:
> On Tue, 16 Oct 2007 20:41:59 +0200, Mike
> wrote:
>
>> I've created a form on a web site that asks for users comments. I am
>> not asking anyone to register or login but I do ask them for an email
>> address which is then checked for existence. After a few weeks I
>> noticed lots of bogus advertising/spam comments from bogus Ids.
>>
>> I tried checking to see if the HTTP_REFERER was from my site before
>> allowing the PHP code to update the MySQL tables but that didn't seem
>> to work.
>>
>> Are there any tricks to stopping this kind of behavior?
>
> Captcha
There are some simple variations such as picture CAPTCHAs where you have
to select all the cats, or all the questions improperly posted to
c.l.php. (Of these 3 questions, which one does not belong on c.l.php?)
Puckdropper
--
Wise is the man who attempts to answer his question before asking it.
To email me directly, send a message to puckdropper (at) fastmail.fm
Re: Comment forms and spamming
am 17.10.2007 00:46:24 von luiheidsgoeroe
On Tue, 16 Oct 2007 23:41:00 +0200, Puckdropper
wrote:
> "Rik Wasmus" wrote in
> news:op.t0azsxob5bnjuv@metallium.lan:
>
>> On Tue, 16 Oct 2007 20:41:59 +0200, Mike
>> wrote:
>>
>>> I've created a form on a web site that asks for users comments. I am
>>> not asking anyone to register or login but I do ask them for an email
>>> address which is then checked for existence. After a few weeks I
>>> noticed lots of bogus advertising/spam comments from bogus Ids.
>>>
>>> I tried checking to see if the HTTP_REFERER was from my site before
>>> allowing the PHP code to update the MySQL tables but that didn't seem
>>> to work.
>>>
>>> Are there any tricks to stopping this kind of behavior?
>>
>> Captcha
>
> There are some simple variations such as picture CAPTCHAs where you have
> to select all the cats, or all the questions improperly posted to
> c.l.php. (Of these 3 questions, which one does not belong on c.l.php?)
Shouldn't that be reversed? :P
--
Rik Wasmus
Re: Comment forms and spamming
am 17.10.2007 06:12:53 von Michael
On 16 Okt., 20:41, Mike wrote:
> I've created a form on a web site that asks for users comments. I am
> not asking anyone to register or login but I do ask them for an email
> address which is then checked for existence. After a few weeks I
> noticed lots of bogus advertising/spam comments from bogus Ids.
>
> I tried checking to see if the HTTP_REFERER was from my site before
> allowing the PHP code to update the MySQL tables but that didn't seem
> to work.
>
> Are there any tricks to stopping this kind of behavior?
>
> Thanks.
Hi Mike
I wrote Spamtrap source code for geekministry. that you can download
for free, at there website
http://geekministry.com/blog_article.php?id=93 It's easy to use and
setup.
I hope that helps
//Michael