MeNeedz Password |
[eluser]Pinkiee[/eluser]
Just quickly, it now can add up to 105 (I think, but I could be wrong).
[eluser]davidbehler[/eluser]
Code: if ($password_length > 0) There was an additional section where one could earn up to 5 additional points. 85 + 5 = 90 points to get a "Very secure" rating. You can't reach that right now but I guess that's ok.
[eluser]Pinkiee[/eluser]
its up to 40 for length. If you have a password of 10 characters, you will get 5 points for having a password, 10 points fo it being over a length of 5 and 25 points for it being ofer a length of 7. 5+10+25=40 If you have a look at the original example I put up, The values were changed (5+5+15), I am sorry I shoudl have commented the code better and pointed out the changes so you could easly make the changes. You can either change it to an "else if"/switch with out a break or keep it the same and adjust the values. Code: switch($password_length) { Hope that helps. Ive only had to edit this file about five times to fix spelling.
[eluser]davidbehler[/eluser]
Damn, u are absolutly right! It took me some time but I finally found the page where I found the rating system: http://www.codeandcoffee.com/2007/07/how...oogle-v20/ I adjusted the helper to better reflect the proposed rating and fixed the amount of points one can get for the length. Again thanks for your help!
[eluser]Sbioko[/eluser]
I have library like this. I wrote it myself. Does your library checks for &, ?, !, %, $ and other symbols in strength checking?
[eluser]davidbehler[/eluser]
Sure I do. I check for upper case, lower case, numbers and special character
|
Welcome Guest, Not a member yet? Register Sign In |