Jump to content


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


  • Please log in to reply
2 replies to this topic

#1 Guest_kilbad_*

Guest_kilbad_*
  • Guests

Posted 12 August 2006 - 02:52 PM

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.c...-Login-Script/  but then read some bad comments about the method it used at
http://www.digg.com/...HP_login_script

So, to learn how to make a mysql based secure php login, what beginner tutorial would you recommend?

thanks in advance.

#2 AdRock

AdRock
  • Members
  • PipPipPip
  • Advanced Member
  • 911 posts

Posted 12 August 2006 - 03:52 PM

try this one.
http://www.plus2net....ge_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...orials/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
If your topic has been solved, please mark the topic as SOLVED.

This helps others from identifying which topics need help still

#3 Demonic

Demonic
  • Members
  • PipPipPip
  • Advanced Member
  • 562 posts

Posted 12 August 2006 - 03:54 PM

yeah like he said with md5 also for double security

sha1(md5($_POST['password'])){

but you would have to output that on the login page also the registration page ;).




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users