This is the code for my login page.
Code:
<?php
include('connect.php');
$username=$_POST['username'];
$password=$_POST['password'];
// protect from MySQL injection
$username = stripslashes($username);
$password = stripslashes($password);
$username = mysql_real_escape_string($username);
Leave a comment: