View Single Post
  #2 (permalink)  
Old 02-11-2008, 02:57 AM
sundarraja sundarraja is offline
D-Web Sr.Programmer
 
Join Date: Mar 2007
Posts: 174
sundarraja is on a distinguished road
Thumbs up Re: 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”)), ...);
__________________
R.Sundar Raja
Reply With Quote