forked from root/threadr.lostcave.ddnss.de
17 lines
510 B
PHP
17 lines
510 B
PHP
|
<?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));
|
||
|
?>
|