Re: [PHP] Swear filter ideas

2007-07-03 Thread Richard Lynch
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

Re: [PHP] Swear filter ideas

2007-07-03 Thread John Meyer
Richard Lynch wrote: Don't. Trying to solve a social problem with software hacks never works out well. :-) Taking the emotion out of this, if you wanted to catch any list of words (the Esperanto dictionary, the words to that last song that got ground into your head), how would you do

Re: [PHP] Swear filter ideas

2007-07-03 Thread tedd
At 1:32 AM -0500 7/3/07, Richard Lynch wrote: 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

Re: [PHP] Swear filter ideas

2007-06-28 Thread Tijnema
On 6/28/07, Richard Davey [EMAIL PROTECTED] wrote: Hi all, Just wanting to pick your collective brains on this one: 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

Re: [PHP] Swear filter ideas

2007-06-28 Thread Steve Edberg
At 12:35 PM +0200 6/28/07, Tijnema wrote: On 6/28/07, Richard Davey [EMAIL PROTECTED] wrote: Hi all, Just wanting to pick your collective brains on this one: 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

Re: [PHP] Swear filter ideas

2007-06-28 Thread Robert Cummings
On Thu, 2007-06-28 at 12:35 +0200, Tijnema wrote: On 6/28/07, Richard Davey [EMAIL PROTECTED] wrote: Hi all, Just wanting to pick your collective brains on this one: How do you go about implementing a swear / bad-word filter in PHP? Reasons for needing one aside, I'm just wondering

Re: [PHP] Swear filter ideas

2007-06-28 Thread Daniel Brown
On 6/28/07, Robert Cummings [EMAIL PROTECTED] wrote: You got a problem with beasts of burden? No, we like you sometimes, Rob. ;-P -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Swear filter ideas

2007-06-28 Thread Robert Cummings
On Thu, 2007-06-28 at 10:06 -0400, Daniel Brown wrote: On 6/28/07, Robert Cummings [EMAIL PROTECTED] wrote: You got a problem with beasts of burden? No, we like you sometimes, Rob. ;-P You've been checking me out in the gym shower haven't you!! ;) But seriously, that was a good one :)