From the CGI modual, I have a variable containing what will be a person's password, which will be added to the MySQL database. How do I make sure the variable only contains characters a-z A-Z and 0-9? I want to make sure the password starts with a letter, it may or may not have numbers, and no forbidden characters or symbols, including spaces. I actually want to do something similar with the username as well, check it to make sure only a-z and 0-9 are used with no forbidden characters, but I want to make sure the letters in the username are all lower case.
Thanks for any help given. With All Respect,Upshaw, Lamar T
__________View the list's information and change your settings at //www.freelists.org/list/programmingblind