Answers

Question and Answer:

  Home  PHP Developer

⟩ How to encrypt the username and password using PHP?

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

Or:

You can use the MySQL PASSWORD() function to encrypt username and password. For example,

INSERT into user (password, ...) VALUES (PASSWORD($password")), ...);

 212 views

More Questions for you: