Thread: login system
View Single Post
Old Dec 14th, 2007, 2:20 AM   #7
kishou
Programmer
 
Join Date: May 2007
Posts: 52
Rep Power: 2 kishou is on a distinguished road
Re: login system

ok corrected the php file to this. and it works:
<html>
<body>

<?php

if ($_POST["username"]=="admin"&&$_POST["password"]=="admin")
echo "Login Successful";
else
echo "Username and password are incorrect. Please try again";
?>
</body>
</html>
kishou is offline   Reply With Quote