On Fri, 19 Jan 2001, Egan wrote:
> On Fri, 19 Jan 2001 14:21:50 -0500 (EST), Ignacio Vazquez-Abrams
> <[EMAIL PROTECTED]> wrote:
>
> >>> Use a database for the words and say "SELECT 1 WHERE LOWERCASE('$name')
>
> >> Yeah problem is he has no database support from his host
>
> > Ouch. All is not lost, however:
> >
> > $words=Array(
> > "f***",
> > "s***",
> > ...
>
> With a dictionary approach you would exhaust yourself trying to catch
> all the combinations of words like goodf***, f***mehard, and so on.
>
> A regular expression solution is needed.
>
> Egan
>
Check the code again. I'm not doing a dictionary approach.
--
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
- Re: [PHP] Profanity Filte... Ignacio Vazquez-Abrams
- Re: [PHP] Profanity Filte... Sterling Hughes
- Re: [PHP] Profanity Filte... Ignacio Vazquez-Abrams
- Re: [PHP] Profanity Filte... Sterling Hughes
- Re: [PHP] Profanity Filte... Sterling Hughes
- Re: [PHP] Profanity Filte... Ignacio Vazquez-Abrams
- Re: [PHP] Profanity Filte... Alex Black
- [PHP] CF vs PHP for Creat... DPG Account
- Re: [PHP] CF vs PHP for C... Michael Kimsal
- Re: [PHP] Profanity Filter Egan
- Re: [PHP] Profanity Filter Ignacio Vazquez-Abrams
- RE: [PHP] Profanity Filter DanO
- RE: [PHP] Profanity Filter Ignacio Vazquez-Abrams
- Re: [PHP] Profanity Filter Sterling Hughes
- Re: [PHP] Profanity Filter Stephan Ahonen
- Re: [PHP] Profanity Filter Todd H MacPherson
- Re: [PHP] Profanity Filter Todd H MacPherson
- Re: [PHP] Profanity Filter Website4S
- Re: [PHP] Profanity Filter Website4S
- Re: [PHP] Profanity Filter Ignacio Vazquez-Abrams

