[pmwiki-users] Email Spam

tamouse mailing lists tamouse.lists at gmail.com
Wed Jun 13 21:50:27 CDT 2012


On Wed, Jun 13, 2012 at 3:20 AM, John Rankin <john.rankin at affinity.co.nz> wrote:
>
>> I'm receiving lots of spam via an email form.
>> Any suggestions on what I can do to stop it?
>
> If it's machine-generated spam, you could try a honeypot. Add this to the
> form:
>
>    "<div id='challenge'>To confirm you are not a real person, tick the
> box: ".
>    "<input type='checkbox' name='confirm' value='yes' /><br /></div>"
>
> You also need to set
>
> $HTMLStylesFmt['challenge'] = "
> #challenge { display: none; }
> ";
>
> Then in the code that processes the form to send the email, add this:
>
> if (@$_POST['confirm']) Redirect($pagename);
>
> The theory is that a machine will fill in any fields it finds in the code,
> because it can't tell that the confirm field is invisible. A more or less
> intelligent life form, such as a human, will unwittingly leave the field
> empty, thereby avoiding the Redirect.
>
> There is anecdotal evidence that this technique is effective in some
> cases. YMMV
> --
> John Rankin
>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users

The above is one of the suggested methods discussed at
http://textcaptcha.com/really which is very good reading, as well as
the site offering a better (IMHO) solution to captchas than recaptcha.



More information about the pmwiki-users mailing list