initial commit, incomplete

master
LinuxMint4Ever 2020-01-06 13:11:57 +01:00
parent 41c8f00f9a
commit 344a9f12e8
1 changed files with 16 additions and 0 deletions

16
content/login.php Normal file
View File

@ -0,0 +1,16 @@
<?php
session_start()
$pdo = new PDO('mysql:host=localhost;dbname=web', 'webstuff', 'Schei// auf Pa$$w0rter!');
$statement_auth_by_name = $pdo->prepare('SELECT authentication_salt, authentication_algorithm FROM users WHERE name=:name');
$result_auth_by_name = $statement_auth_by_name->execute(array('name' => $_POST['name']));
echo $statement_auth_by_name->queryString;
// $result_name_by_auth = $Statement_name_by_auth->execute(array('authentication_string' => $authentication_string));
?>