hmag has asked for the wisdom of the Perl Monks concerning the following question:
However, there are numerous terms I want to prevent from being used, such as viagra, phetnermine, online poker, casino, porn, etc... etc...
To this end, there's an array within the actual board script to do this that looks like:
@restricted = ('viagra','xxx','gambling');
My question is - would it be possible to include the terms I wish to restrict in a file that the script pulls to reference when a message gets posted? If so, could someone outline how I might do that please - my Perl knowledge is very minimal.
Alternatively, has anyone got a variation of WWWBoard that is relatively bulletproof against spammers & spambots. I was using a version called 'Mr Fong Device', but after adding a number of terms to it's autoban list, it rendered the board inaccessible to posts for everyone - thanks spammers - any help greatly appreciated.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Including File in array
by GrandFather (Saint) on Jun 25, 2006 at 21:50 UTC | |
|
Re: Including File in array
by Hue-Bond (Priest) on Jun 25, 2006 at 21:33 UTC | |
|
Re: Including File in array
by derby (Abbot) on Jun 25, 2006 at 23:27 UTC | |
|
Re: Including File in array
by TedPride (Priest) on Jun 25, 2006 at 23:14 UTC | |
|
Re: Including File in array
by CountZero (Bishop) on Jun 26, 2006 at 06:13 UTC | |
by hmag (Acolyte) on Jun 26, 2006 at 06:53 UTC |