<h2>Inloggen</h2>
-<form action="" method="post">
+<form action="?" method="post">
<input id="login" name="login" placeholder="Gebruikersnaam" value="<?php
- if (isset($_POST['login'])) print htmlspecialchars($_REQUEST['login']);
+ if (isset($_POST['login'])) print htmlspecialchars($_POST['login']);
?>" />
<input id="pass" name="pass" type="password" value="" placeholder="Wachtwoord" />
<input type="submit" value="Log in" />