Update user_list.php

This commit is contained in:
jakani24
2024-01-20 10:32:47 +01:00
parent c4c3d024c8
commit 6bfa83b8e5

View File

@@ -44,11 +44,6 @@ include "perms_functions.php";
//get count of users //get count of users
//include db pw //include db pw
include "../../../config.php"; include "../../../config.php";
// Retrieve user input
$password = $_POST["password"];
$email=$_POST["email"];
$username=$_POST["username"];
$hash=password_hash($password, PASSWORD_BCRYPT);
// Create a connection // Create a connection
$conn = new mysqli($DB_SERVERNAME, $DB_USERNAME, $DB_PASSWORD, $DB_DATABASE); $conn = new mysqli($DB_SERVERNAME, $DB_USERNAME, $DB_PASSWORD, $DB_DATABASE);