Code:
<?php
$username=$_POST["UsernameBox"];
$password=$_POST["PasswordBox"];
$host="localhost";
//error_reporting(0);
if(!($dbh=@mysql_connect($host,$username,$password)))
{ header('Location:index.html');
//print "<a href=http://localhost/pms/index.html>Back to login.</a><br>";
Leave a comment: