MeNeedz Password - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: MeNeedz Password (/showthread.php?tid=14421) |
MeNeedz Password - El Forum - 07-02-2009 [eluser]Pinkiee[/eluser] Just quickly, it now can add up to 105 (I think, but I could be wrong). MeNeedz Password - El Forum - 07-02-2009 [eluser]Pinkiee[/eluser] Looking much better though, thank you. MeNeedz Password - El Forum - 07-02-2009 [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. MeNeedz Password - El Forum - 07-02-2009 [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. MeNeedz Password - El Forum - 07-02-2009 [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-to-make-a-password-strength-meter-like-google-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! MeNeedz Password - El Forum - 01-02-2010 [eluser]Sbioko[/eluser] I have library like this. I wrote it myself. Does your library checks for &, ?, !, %, $ and other symbols in strength checking? MeNeedz Password - El Forum - 01-02-2010 [eluser]davidbehler[/eluser] Sure I do. I check for upper case, lower case, numbers and special character MeNeedz Password - El Forum - 01-02-2010 [eluser]Sbioko[/eluser] Well done :-) |