- Code: Select all
#
#-----[ OPEN ]------------------------------------------------
#
includes/functions_validate.php
#
#-----[ FIND ]------------------------------------------------
#
// Don't allow
if (strstr(
#
#-----[ IN-LINE FIND ]----------------------------------------
#
, chr(160))
#
#-----[ IN-LINE AFTER, ADD ]----------------------------------------
#
|| strstr($username, ';')
Now, user can't type japanese word (example: イメージ) and chinese word (example: 论坛人) to register....

