View Full Version : Block use of special characters in usernames???

18 May 2003, 03:03
Hey how can I stop people from using the characters from the character map in their usernames???? I know I can put them all in the illegal usernames field seperated by spaces, but that would take a long time and maybe there is an easier way.. Does anybody know??? Thanks.


19 May 2003, 20:47
Is this hack already made??? Or is it done some other way?

19 May 2003, 21:10
Here's a piece of code I use in my chat.php, it is will help you at all. It puts underscores for illegal characters.

Code is only visible to licensed users, and only when logged into the forums.

The I have to use username1 in the variable. It should give you an idea of what to do. ;)