PDA

View Full Version : Replacement variables: non-case sensitive?


Kathy
12-03-2002, 02:23 AM
Hi guys,

I have a list of a few words that on my forum aren't appropriate. Sometimes though we get a drive-by posting...from someone that is just trying to flame the community and offend.

And so, to take away the offensiveness, I've added these 3 words to the replacements with a nonsense word to replace it.

the problem I'm having is sometimes one of the words slips by with a different formation of the word and mainly with an upper or lower case letter difference somewhere.

this could be fixed if these replacement variables were non-case descriptive.

Any way to do that? thanks for any ideas!

Xenon
12-03-2002, 04:07 PM
well, not so easy, because there is no str_replace function which is caseinsensitiv.

on php.net there are some examples how to achieve that, but they didn't work for me...

Erwin
12-03-2002, 07:55 PM
Why not add these words to the standard vB censor?