Wednesday, December 9, 2009

How can we encrypt the username and password using PHP?

1)
encrypt a password with the following Mysql>SET PASSWORD=PASSWORD("Password");
2)
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