4
I would like the help of you to do the following I have in case this function does in case the login verification to be registered of the user.
If it starts with number send a warning preventing registration. If it did not eat by number it releases the registration of this login.
Here is my problem precisely that this function inhibits the registration of logins initiated by any symbol or character that is not an alphabet letter like @#$% ".+§= */8 among others or started by numbers. Below the function I made.
<?php if(is_numeric(substr($loginPost,0,1))){ ?>
o Login não pode começar com numero
<?} else { ?>
Usuário Cadastrado
<? } ?>
Checks if it is a-z or A-Z; if it is not, reject login.
– Tony