Plik: rejestracja.php
<br> <? $login = $_POST['login']; $haslo = $_POST['haslo']; $haslo2 = $_POST['haslo2']; $kod = $_POST['kod']; $accept = $_POST['accept']; $email = $_POST['email']; $file = ("users/$login.cl50cp1eoq9zj3scotij1a84"); elseif($haslo != $haslo2): else: $ciag = "$login:$haslo:$kod:$accept:$email"; endif; ?> </br>
rejestrator.html
<form name="rejestracja" method="post" action="rejestrator.php"> <input type="text" name="email" id="Name" value=""/> <label for="Name">Nazwa uzytkownika: <font color="red">*</font></label> <input type="text" name="login" id="Name" value=""/> <label for="Email">Haslo: <font color="red">*</font></label> <input type="password" name="haslo" id="Email" value=""/> <label for="Subject">Powtorz haslo: <font color="red">*</font></label> <input type="password" name="haslo2" id="Email" value=""/> <label for="Message">Kod zabezpieczajacy: <font color="red">*</font><a href="java script:alert('Jesli zapomniesz hasla to ten wyraz bedzie kluczem w razie zapomnienia hasla')">[?]</a></label> <input type="text" name="kod" id="Email" value=""/> <label for="Message">Akceptujesz <a href="regulamin.php">regulamin: <font color="red">*</font></a>: <a href="java script:alert('Wpisz Tak/Nie')">[?]</a></label> <input type="text" name="accept" id="Email" value=""/> <br /> <input type="submit" name="submit" value="Zarejestruj sie !" onclick="return empty_check()" class="submit-button" />