Einzelnen Beitrag anzeigen
Alt 27.10.2003, 08:06   #9
tba
Master
 
Registriert seit: 29.04.2003
Beiträge: 741

Mein Computer

Standard

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?!
____________________________________
4 8 15 16 23 42
tba ist offline   Mit Zitat antworten