Basic PHP Programming Question:
Download Job Interview Questions and Answers PDF
How can we encrypt the username and password using PHP?
Answer:
Answer1
You can encrypt a password with the following Mysql>SET PASSWORD=PASSWORD("Password");
Answer2
You can use the MySQL PASSWORD() function to encrypt username and password. For example,
INSERT into user (password, ...) VALUES (PASSWORD($password”)), ...);
You can encrypt a password with the following Mysql>SET PASSWORD=PASSWORD("Password");
Answer2
You can use the MySQL PASSWORD() function to encrypt username and password. For example,
INSERT into user (password, ...) VALUES (PASSWORD($password”)), ...);
Download PHP Interview Questions And Answers
PDF
Previous Question | Next Question |
How To Create a Table using PHP? | How do you pass a variable by value? |