This commit is contained in:
wiecktobi 2018-06-07 21:55:32 +02:00
parent af09b5da26
commit f3f0de57ac

19
php/login.php Normal file
View File

@ -0,0 +1,19 @@
<?php
require('dbConnect.php');
if (isset($_POST['index.php'])) {
$name = $_POST['loginName'];
$pswd = $_POST['loginPassword'];
$abfrage = "SELECT PASSWORD WHERE loginName=NAME";
if ($pswd == $abfrage) {
// code..
}
}
?>