Hello
I want to store encrypted password in mysql table while people register on my site. How can I encrypt password using php? Please help me regarding this.
Thanks
Hello
I want to store encrypted password in mysql table while people register on my site. How can I encrypt password using php? Please help me regarding this.
Thanks
You can use md5 encryption for the encryption purpose. Hope following example will help you
thanksPHP Code:$str = "test";
$encrypted = md5($str);
echo $encrypted;
Yes code is workign fine and I have stored password in the table but I would like to know while checking the login how can I decrypt it?
To encrypt particular string you can use md5 algorithm of the php and you will get good result
Bookmarks