ClubCosmic
07-09-2005, 10:20 PM
I have the following code:
if (eregi ("([[:alnum:]]) ( ! | @ | # | $ | % | ^ | & | *) {6,12}$", $_POST['password1'])) {
I wanted to make sure the password contains alpha-numerics, some special chars, and was between 6 and 12 chars long. the code did work but now it doesn't.
see anything wrong with the syntax?
thanks in advance
c.c.
if (eregi ("([[:alnum:]]) ( ! | @ | # | $ | % | ^ | & | *) {6,12}$", $_POST['password1'])) {
I wanted to make sure the password contains alpha-numerics, some special chars, and was between 6 and 12 chars long. the code did work but now it doesn't.
see anything wrong with the syntax?
thanks in advance
c.c.