Need for 1.2.1 - Usernames only with characters A-Z Need for 1.2.1 - Usernames only with characters A-Z
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Need for 1.2.1 - Usernames only with characters A-Z

Started by pgt96drvr, May 03, 2005, 11:59:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pgt96drvr

There has to be a small bit of code that I can input that will only allow A-Z characters for the registering of a username. I searched the forum and I can see where the adition of certain characters would cause errors, but I'm jsut looking to abolish all other characters instead.

Thanks guys.  I didn't put this in the paid section, becasue I don;t think that it will take too long for the code for this, but I am willing to pay a little if you would like.

Thanks.

pgt96drvr

Had a brain fart....   

If I go into the database and change the field of the username form "VARCHAR"  to "CHAR"  will this effect my current users with ">" and "<", etc. in their names?  I would flip the switch, but I don't want to mess anything up.

thanks.