HOW CAN WE ENCRYPT THE USERNAME AND PASSWORD USING PHP?

Amit Singh

Total Post:562

Points:2810
Posted by  Amit Singh
PHP 
PHP
 1630  View(s)
Ratings:
Rate this:
  1. Amit Singh

    Post:562

    Points:2810
    How can we encrypt the username and password using PHP?

    You can encrypt a password with the following Mysql>SET PASSWORD=PASSWORD("Password");

  1. Amit Singh

    Post:562

    Points:2810
    How can we encrypt the username and password using PHP?

    You can use the MySQL PASSWORD() function to encrypt username and password. For example,
    INSERT into user (password, ...) VALUES (PASSWORD($password”)), ...);

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!