Jump to content

Want to make mysql based secure php login, but need opinion about which tutorial


Guest kilbad

Recommended Posts

Guest kilbad
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.
Link to comment
Share on other sites

try this one.
http://www.plus2net.com/php_tutorial/php_change_password.php

I used it and made some changes but it works fine

also you may want to take some bits like md5 password from here
http://www.phpfreaks.com/tutorials/40/0.php

The 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
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.