Hallo,
kann mir jemand sagen, was falsch ist? Ich bekomme eine leere Seite angezeigt:
---
<html><body>
<?
$pw = fopen ("pws.dat", "r") or die ("File open error");
if(!isset($_POST['password']) || $_POST['password'] == $pw){
echo "Sie sind Eingeloggt. <a href='mailliste2.php'>Weiter...</a>";
}
else "Die angegebene Schule ist falsch. Access denied.";
fclose ($pw) or die ("File close error");
?>
---
pws.dat:
---
ABC
---
mailliste.php:
---
<form action='pass.php' method='post'>
<td><input type="text" name="password"><br><input type='submit'> </td></tr>
---
Natürlich schon gekürzt. Danke für die Hilfe...
Stephan