<?
$password  = "pass";
$loginn    = "admin";
if($pass && ($pass)==$password && $login && ($login)==$loginn)
{
?>
<html>
<head>
  <title>Login-system</title>
</head>
<body bgcolor="#ffffff">
<font face="arial">You're in!</font>

</body>
</html>
<?
exit;
}
?>
<html>
<head>
  <title>Login-system</title>
</head>
<body bgcolor="#999999"> 
<form action="login.php3" method="post"> 
<font face="arial">Login: &nbsp; &nbsp; &nbsp; &nbsp;</font><input type="text" name="login" size="16"><br>
<font face="arial">Password:</font><input type="password" name="pass" size="16"><br>

<input type="submit" value=" Login "><br>
<ul><font face="arial">Login=login</font><br>
    <font face="arial">Password=pass</font>
</form>
</body>
</html>
Published in: PHP
Download

Related snippets