Forum Moderators: coopster

Message Too Old, No Replies

Bad word list - email form

         

adammc

2:26 am on Dec 4, 2006 (gmt 0)

10+ Year Member



Hi Guys,

I am trying to limit the spam coming through my email form from the source.

Can anyone possible assist me in how to create a script to read from a badwordlist.txt file and check that no bad words occur in the email message body ($message)?

Any help would be greatly appreciated :)

jatar_k

2:40 am on Dec 4, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



if you can dot his right on the server then you can make filters in whatever anti spam software the server uses

I have always liked
[spamassassin.apache.org...]

if you are doing it some other wya then

open the badwords file
read it into an array
compare your text against the array
if you find something you might want to have a weighting system

again there is a ton of software out there for this purpose and it can be very intensive, for a pc solution you could use
[mailwasher.net...]