Check login

CyberAlien

Verified User
Joined
Oct 28, 2003
Messages
229
Location
Mars
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?
 
Back
Top