Make a login | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Make a login

I apologize in advance for the poor wording. How do you allow users to login. Also how do you encrypt there passwords? (this would be for a website)

26th Jun 2017, 5:20 PM
rustic crow
2 Answers
0
Login for what? Login for your SQL database or a login for your PHP website ? MySQL : https://dev.mysql.com/doc/refman/5.7/en/assigning-passwords.html PHP-Login / PHP Session with MySQL backend : https://www.php-einfach.de/experte/php-codebeispiele/loginscript/
26th Jun 2017, 6:56 PM
Jonas
0
Don't store store your passwords in clear text, work with hash values :)
26th Jun 2017, 7:00 PM
Jonas