php file:
<?php
$passwort = "test";
if ($passwort == '$pass')
{
echo "Richtiges Passwort"
;
}
else
{
echo "Falsche Zugangsdaten.";
}
?>
html file.
<body>
<form action="inhalt.php" method="post">
<tr>
<td>passwort:</td>
<td><input type="pwd" name="pass"></td>
</tr>
<tr>
<td><input type="submit" name="senden" value=Login></td>
</tr>
</table>
</form>
</body>
schreibt immer Falsche Zugangsdaten?!
