Hi, can anyone tell me how to disallow users from using symbols (including spaces) in their username and password when they sign up. all i want them to be able to use is letters and numbers thanks, walshie
Modify this in signup.php: if ($config['login_disallow_spaces']) $preg = '/[^0-9a-zA-Z_]/'; else $preg = '/[^0-9a-zA-Z_ ]/'; to if ($config['login_disallow_spaces']) $preg = '/[^0-9a-zA-Z]/'; else $preg = '/[^0-9a-zA-Z]/';