How can we encrypt the username and password using PHP?

May 28th, 2008No Comments

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

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

Related Posts:

Tagged : ,

No Responses

Comments are closed.