|
Posted by adzir on 05/07/07 14:48
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?
Navigation:
[Reply to this message]
|