I made my own password script but there are a few little problems.
<?php
if(trim($_POST["password"]) == "viper")
{
$url = "wars/admin.php";
}
?>
<html>
<head><title>Admin Page</title></head>
<body>
<form action="<?php echo $url ?>" method="post">
Enter Password: <br><input type="password" name="password"> (Requires Double Enter)<br>
<input type="submit" value="Enter">
</form>
</body>
</html>
That is the code. When I use it I have to hit submit twice to go on but it works. Is there a way I can go to it without having to click Enter 2 times?