everything should be db.inc not hardcoded!

This commit is contained in:
Thies Mueller
2021-01-10 12:17:26 +01:00
parent d900b2a57f
commit cbebd4339c
8 changed files with 8 additions and 8 deletions

View File

@@ -7,7 +7,7 @@
</head>
<body>
<?php
$pdo = new PDO('mysql:host=localhost;dbname=usertable', 'usertable', 'password');
include 'db.inc.php';
function random_string() {
if(function_exists('random_bytes')) {