How do I protect my forum against spam?

前端 未结 14 1640
既然无缘
既然无缘 2020-12-28 23:46

I have a forum on a website I master, which gets a daily dose of pron spam. Currently I delete the spam and block the IP. But this does not work very well. The list of block

14条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2020-12-29 00:28

    One way that I know which works is to use JavaScript before submitting the form. For example, to change the method from GET to POST. ;) Spambots are lousy at executing JavaScript. Of course, this also means that non-Javascript people will not be able to use your site... if you care about them that is. ;) (Note: I don't)

提交回复
热议问题