checkdenhaaglogin
require('wp-content/plugins/libtables-integration/libtables2.php'); ?>
Check Den Haag test
Hallo
print $_POST['gebruiker_naam'];
if (empty($_POST['gebruiker_naam']) || empty($_POST['gebruiker_wachtwoord'])) {
print "Please fill in both input fields.";
exit();
}
if (!password_verify($_POST['gebruiker_wachtwoord']), $row1[2]){
print "Invalid username or password.";
exit();
}
}
// User has logged in succesfully at this point.
// $row1 has contents from libtables db
$_SESSION['gebruiker_id'] = $row1[0];
$_SESSION['gebruiker_naam'] = $row1[1];
print 'Ingelogd'?>