Guest kilbad Posted August 12, 2006 Share Posted August 12, 2006 I want to make a mysql based secure php login, but need opinion about which tutorial to use. I am somewhat new to using mysql and php so I need something with good explainations of the code. I started using http://www.devshed.com/c/a/PHP/Creating-a-Secure-PHP-Login-Script/ but then read some bad comments about the method it used at http://www.digg.com/programming/HOW_TO:_Create_a_secure_PHP_login_script So, to learn how to make a mysql based secure php login, what beginner tutorial would you recommend?thanks in advance. Quote Link to comment Share on other sites More sharing options...
AdRock Posted August 12, 2006 Share Posted August 12, 2006 try this one.http://www.plus2net.com/php_tutorial/php_change_password.phpI used it and made some changes but it works finealso you may want to take some bits like md5 password from herehttp://www.phpfreaks.com/tutorials/40/0.phpThe first part of the tutorial lets the user choose a password where the second one doesn't. I chose to let the user choose their own password and use the part in the second tutorial where the user is emailed an activation link with their password encryted in md5. the user has to click the link to activate their account.I took bits out of each to make my login system how i wanted it Quote Link to comment Share on other sites More sharing options...
Demonic Posted August 12, 2006 Share Posted August 12, 2006 yeah like he said with md5 also for double securitysha1(md5($_POST['password'])){but you would have to output that on the login page also the registration page ;). Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.