Monday, November 23, 2009

How can we encrypt the username and password using PHP?

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

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

No comments:

Post a Comment

I just got my #domain @BigRock. Get upto 25% off with my personalized coupon link Get upto 25% off