Warum funktioniert das nicht:
PHP-Code:
<?php
require("pwd.php");
if(isset($_POST['user']) and isset($_POST['pass'])){
$user = $_POST['user'];
$pass = $_POST['pass'];
if (($benutzer == "$user") and ($passwort == "$pass"))
{
session_start();
$_SESSION['username']=$username;
$_SESSION['password']=$password;
header("Location: h.html");
}
}
?>
<html>
<body>
</body>
</html>
Kommentar