Reply to Re: PHP formmail getting spammed by bots

Your name:

Reply:


Posted by Rasmus on 09/28/74 11:43

Yeah, referer alone is a bad idea as some browsers don't support this or
have it removed with some software. I suggest making a spam score system
that rates every e-mail sent from your form and rejects mails with a spam
score larger than X...

Some ideas to use for rating:
look for undesired words (or count them to calculate a score)
look for desired words to lower the spam score
undesired top level domains of the poster
missing referer
"?" in $_SERVER['REQUEST_URI']
$HTTP_SERVER_VARS['REQUEST_METHOD'] != "POST"
$mails_today > something
....

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация