[drupal-devel] simple and effective comment spam prevention exists and works

Jeremy Andrews jeremy at kerneltrap.org
Sun Oct 2 13:59:56 UTC 2005


On Sun, 2 Oct 2005 15:45:36 +0200
Adrian Rossouw <adrian at bryght.com> wrote:

> > This avoids all the problems described above, and would
> > prevent token re-use by comment spammers.  The only
> > problem is that this solution doesn't work for forms that
> > don't have unique id's, such as the contact form.
> > Perhaps that's okay. (You could have an 'id' of 0 in such
> > cases.)
> 
> all forms have unique id's in the form api.

In what way?  For example, how would it work on this form:
   http://drupal.org/contact
 
If I load the form twice, does it have a different id each
time?  How about if two different people load the form?

Thanks,
 -Jeremy



More information about the drupal-devel mailing list