Back To School, In Order To College Sports
Need And Significance Of Soccer Jerseys
boston red sox jerseys
Where Uncover Discount Sports Gear
Some Features That Is That Possible Not Know For Soccer Jerseys
The Craze For Man Utd Football Shirts
Why Require Collect Hockey Jerseys
vancouver canucks jersey authentic
The Best Cheap Jerseys,Mlb Jerseys
Jay Cutler Saga Highlights Lack Of Loyalty In Nfl

Encrypting Password Using md5() Function

This turorial will teach you that how to make your login system more secure. We will use md5(); function for this.

{code type=codetype}



Use md5(); to encrypts password to make it more secure


Look at these two databases, it’s the same person and same info, the first one we don’t encrypt his password but the second one we encrypted his password

when you encryte "john856" using this code, you’ll see this result
"ad65d5054042fda44ba3fdc97cee80c6" This is not a random result, everytime you encrypt the same password you will get the same result.

{code type=codetype}

echo $encrypt_pwd;


Example – Login

This is an example Login with encrypted password but don’t forget to encrypt password and insert into database in sign up process.

// username and password sent from form
{code type=codetype}

// encrypt password

$sql="SELECT * FROM $tbl_name WHERE username=’$tpuser’ and password=’$encrypted_pwd’";


  1. Wijdan Rohail Reply
  2. Tutorial Lounge Reply
  3. BandonRandon Reply
  4. md5pass Reply
  5. livelybrowsers Reply

Leave a Reply

Your email address will not be published. Required fields are marked *