+ 1
How to implement login??
hello, guys!! I'm trying to build a system for a drugstore (for fun), but the login method I'm using is pretty simple (already defined user and password) and the login is an if (if (user == user) && (pass == pass) then proceed else backToLogin), so I'm to implement something to create new users, store/delete them. what do you suggest??
3 Respuestas
+ 4
You have to learn PHP, SQL in order to do that
+ 2
You should also consider implementing sessions, tokens, cookies to track and control the users. Also use some encryption for the password like MD5 and also think about a way for the user to rest their password. Also use a timeout for the session to log them out after 30 minutes of inactivity.
+ 1
thanks!!