Re: [PHP] Swear filter ideas
- From: ceo@xxxxxxxxx ("Richard Lynch")
- Date: Tue, 3 Jul 2007 01:32:43 -0500 (CDT)
On Wed, June 27, 2007 5:18 pm, Richard Davey wrote:
How do you go about implementing a swear / bad-word filter in PHP?
Reasons for needing one aside, I'm just wondering if you favour a
regexp, a substr_count, or what? Do you like to *** out the bad words,
or just error back to the user? (I guess that is application
specific).
There are always ways to circumvent them, but I'm still curious to
know how you prefer to handle it.
Don't.
Trying to solve a social problem with software hacks never works out
well.
:-)
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?
.
- Follow-Ups:
- Re: [PHP] Swear filter ideas
- From: tedd
- Re: [PHP] Swear filter ideas
- From: John Meyer
- Re: [PHP] Swear filter ideas
- Prev by Date: Re: [PHP] strange include path error
- Next by Date: Re: [PHP] Bit-size of machine
- Previous by thread: Re: [PHP] strange include path error
- Next by thread: Re: [PHP] Swear filter ideas
- Index(es):
Relevant Pages
|