Hi,
I need to validate password keyed in by the system users so that the
password will contain only letters and numbers plus at least one
capital letter. Exclude these symbols
, < ? / * ( ) & ^ % $ # ! ~ ` " '
this is my code:
ereg("[A-Za-z0-9[^\,\<\>\?\/\*\(\)\&\^\%\$\ #\!\~\`\"\']]+$", $str)
am i correct?
I need to validate password keyed in by the system users so that the
password will contain only letters and numbers plus at least one
capital letter. Exclude these symbols
, < ? / * ( ) & ^ % $ # ! ~ ` " '
this is my code:
ereg("[A-Za-z0-9[^\,\<\>\?\/\*\(\)\&\^\%\$\ #\!\~\`\"\']]+$", $str)
am i correct?
Comment