pthurmond Posted December 5, 2006 Share Posted December 5, 2006 How would I go about enforcing password requirements?Here are the ones I want to enforce:Your password must meet the following requirements:<br>-It must be between 6 and 12 characters long.<br>-It must contain at least one lower-case and one upper-case letter.<br>-It must contain at least two numbers.<br>-It must not contain any special characters (Ex. @, #, $, %, &, etc.)Thanks,Patrick Link to comment https://forums.phpfreaks.com/topic/29487-how-would-i-go-about-enforcing-password-requirements/ Share on other sites More sharing options...
Psycho Posted December 5, 2006 Share Posted December 5, 2006 Use regular expression. There is a forum specifically for that here. Link to comment https://forums.phpfreaks.com/topic/29487-how-would-i-go-about-enforcing-password-requirements/#findComment-135323 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.