2022-04-04 10:55:53 +00:00
|
|
|
<?php
|
2022-04-04 11:21:28 +00:00
|
|
|
|
|
|
|
$user = @$_POST['user'];
|
|
|
|
$pass = @$_POST['pass'];
|
2022-04-04 10:55:53 +00:00
|
|
|
|
|
|
|
if($user == "admin"
|
|
|
|
&& $pass == "soup")
|
|
|
|
{
|
|
|
|
include("create.php");
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
if(isset($_POST))
|
|
|
|
{
|
|
|
|
echo '
|
|
|
|
<form method="POST" action="login.php">
|
|
|
|
User <input type="text" name="user"></input><br/>
|
|
|
|
Pass <input type="password" name="pass"></input><br/>
|
|
|
|
<input type="submit" name="submit" value="Go"></input>
|
|
|
|
</form>
|
|
|
|
';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
?>
|