HOW CAN WE ENCRYPT THE USERNAME AND PASSWORD USING PHP?

Amit Singh

Total Post:565

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

    Post:565

    Points:2825
    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:565

    Points:2825
    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!