Bu yanlış sonuç verir. I çok zor hata ayıklama bulmak ben Dreamweaver kullanımı ve ben sadece PHP öğrenmeye başladı.
</html>
<head>
<title>Login Form</title>
</head>
<body>
<fieldset><legend>Login</legend>
<form action="login.php" method="post" /><br/>
Username<input type="text" name="User" /><br/>
Password<input type="password" name="Pass" /><br/>
<input type="submit" value="submit" />
<input type="reset" value="clear"/>
</form>
</body>
</html>
<?php
$_user=$_POST["user"];
$_pass=$_POST["pass"];
if(($user=="hamza")&&($pass=="2"))
echo "Access Granted";
else echo "access denied";
?>