I have a problem, i want to know how to create login activity in a website which many people can connect at the same time | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 7

I have a problem, i want to know how to create login activity in a website which many people can connect at the same time

13th Sep 2018, 6:44 AM
Abdulrahman Bello
Abdulrahman Bello - avatar
2 Answers
+ 3
You should learn PHP and SQL. 1) Make a connection to the database with PHP. 2) Check if the username exists in the database. 3) Check if the password matches in the database. If the username and the password matches let the user in by setting PHP-SESSION-variables. If it doesn't, redirect the user to the login page and add an error message.
14th Sep 2018, 11:16 AM
N00B
+ 1
I think you are talking about using a server, right ? Try to see PHP with HTML, it probably have what you need
13th Sep 2018, 12:14 PM
Yan Köhler
Yan Köhler - avatar