Login.php
<html>
</head>
<title>Simpelt login v1.0</title>
</head>
<form method="post" action="godkend.php">
Password:<br>
<input type="password" name="password"><br>
<input type="submit" value="Login>
</form>
<body>
</body>
</html>
Godkend.php
<?php
$password == $_REQUEST['password'];
if($password == "adminpass"){
include("right.php");
}
?>Right.php
<?php
$password == $_REQUEST['password'];
if($password == "adminpass"){
include("right.php");
}
elseif($password == "adminpass1"){
include("right.php");
}
?>Mangler hjælp. Kan ikke finde ud af det..

Og hvordan sætter jeg det op i databasen? Og hvordan laver jeg en database?
Indlæg senest redigeret d. 26.03.2009 18:10 af Bruger #14741