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



-- 
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]

Reply via email to