How can we encrypt the username and password using PHP?
Answer Posted / master
best is to use md5() or sha1(). base64_encode is not
actually encoding used for username or password.
| Is This Answer Correct ? | 27 Yes | 0 No |
Post New Answer View All Answers
What is php pathinfo?
What is the difference between for and foreach loop in php?
Tell me how do you define a constant?
Why do we need abstract class in php?
How to find the position of the first occurrence of a substring in a string?
What is the difference between substr() and strstr()?
How escape single quotes php?
What are the methods to submit form in php?
What is different types of visibility?
What is the difference between echo print and print_r in php?
What is php date function?
When do sessions end?
How does php and apache work?
Is it possible to destroy a cookie?
With a heredoc syntax, do I get variable substitution inside the heredoc contents?