+ 1
Login page
how to create login page with php ?
1 Resposta
+ 1
Nalin, when you develop public available site - don't forget:
1. https connection from form to webserver (your site sends login and password)
2. check if cookies are enabled in user web browser
3. filter what user sends to your script, this example allows for sql injection:
$username = $_POST['username'];
$password = $_POST['password'];
$query = "SELECT * FROM `user` WHERE username='$username' and password='$password'";