everything should be db.inc not hardcoded!
This commit is contained in:
@@ -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')) {
|
||||
|
Reference in New Issue
Block a user