PDA

View Full Version : registration censor problem


Chadi
11-24-2008, 01:01 AM
Someone signed up today with a foul word as the username, achieved by putting spaces in between the letters whereas without spaces, that word is already censored in the admincdp > vboptions > user registration options area.

So the question is, how can I censor the same word with spaces? The setup is that each keyword must be separated by spaces.

Dismounted
11-24-2008, 04:15 AM
Just ban/delete the user - they will always find a way if they want to. (Well not always, but you get the point.)

Chadi
11-24-2008, 05:25 PM
What about regex? I'm not expertised with regex expressions but wouldn't that at least help?

Dismounted
11-25-2008, 05:02 AM
Yes - but you'd need to scan every single person that registers, and regex functions are amongst some of the slowest in PHP.