On Mon, Oct 20, 2008 at 9:46 AM, Ryan J. Heldt <[EMAIL PROTECTED]> wrote:
> Dan-
>
> I don't have any code for this, but what I would do is take a block of
> text and treat it as a list, using space, CFLF, and other characters as
> needed as delimiters. Then loop though the list and see if any of those
> are in a struct or array of "dirty words" you have. I *think* Camden's
> Blog CFC has something like this, but I could be wrong. Either way, it
> should take very long to implement.
>
> Thanks!
> Ryan

Thanks Andy & Ryan. I know it would not be too big a deal to do the
list and loop over it, but was checking to see if there was something
created already. Some of the ideas I have seen is replacing the
offending word with some other text, matching on whole words, etc. You
don't want to necessarily disallow the entry due to one bad word or
one perceived bad word, so I have to make sure I take that into
account as well.

Dan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:314136
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to