Re: Mccode username
After some playing around with that code, i got to this:
You cant have your name with special characters in
but if you have special characters AND numbers/letters, it still works.
Any way i can stop that
Can anyone please give me a php code that stops users from adding any special characters in their username.
I need to add this in register.php and in preferences.php.
As when people have a ' in their name, it acts as an sql injection and causes SERIOUS BUGS!
I dont know what code to do so only letters and numbers caan be used in usernames.
Please can someone help fast?