CyberAlien
Verified User
Hello,
This might be a very stupid question. How to correctly check login/password with php?
Right now i'm doing it by checking if /home/username exists and trying to connect to mysql with login/password, but i don't think this is correct way to do it. And i'm 100% sure i'm missing something very simple. Any ideas?
This might be a very stupid question. How to correctly check login/password with php?
Right now i'm doing it by checking if /home/username exists and trying to connect to mysql with login/password, but i don't think this is correct way to do it. And i'm 100% sure i'm missing something very simple. Any ideas?