Wypluwa tylko:
Kod
Parse error: parse error, unexpected $end in F:\WebServ\httpd\reg\register.php on line 49
<? $login = $_POST['login']; $haslo = $_POST['pwd']; $haslo2 = $_POST['pwd2']; { { } else { $haslo .= "$nr"; $sha1 = sha1($haslo); $file = './user/'."$login".'.php'; flock($fp, 3); fclose($fp); } } else { echo<<< FORM <html><head><meta http-equiv="Content-Language" content="pl"> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-2"> <title>Rejestracja :: Demo</title></head><body> <form method="POST" action="./register.php"> <p>Login <input type="text" name="login" size="20"></p> <p>Hasło <input type="password" name="pwd" size="20"></p> <p>Hasło <input type="password" name="pwd2" size="20"> (Przepisz powyższe jeszce raz)</p> <p><input type="submit" value="Rejstruj"></p> </form></form></body></html> FORM; } ?>