Login Register script fails
#1

Hi guys.

I got a register/login system made in Dialog boxes.
Just now i noticed that people could login with for example, my name, then type \n \t \i and something like that, to return to a register dialog.

Is there any way to accept characters and numbers ONLY? I mean like a regular expression from a-z 0-9?

I tried this, but ofc that would only work on \ not characters like ~ Ѕ с etc
if(strfind(inputtext,"\\",true)!= -1)
Reply


Messages In This Thread
Login Register script fails - by Webghost - 06.05.2011, 20:58
Re: Login Register script fails - by Calgon - 06.05.2011, 21:01
Re: Login Register script fails - by Webghost - 06.05.2011, 21:05

Forum Jump:


Users browsing this thread: 1 Guest(s)