[pmwiki-users] How to protect PMForm against spam?

Patrick R. Michaud pmichaud at pobox.com
Mon Mar 3 08:15:18 CST 2008


On Mon, Mar 03, 2008 at 11:46:53AM +0100, Roman wrote:
>    I don't want to use captcha, I want to ignore entries containg strings
>    used by spammers, particularly "<a href=" and "[url=". Perhaps "match" or
>    "if" parameters of (:template:) directive could solve it but I haven't
>    found proper syntax. Has anyone been successful with this?

Try

    (:template require <field> match=-"[url=" :)

where <field> is the input form field you want to check for "[url=".

Pm



More information about the pmwiki-users mailing list