@ -4,7 +4,7 @@ function connection(): bool|int|mysqli
{
$username = $_ENV["USER"]; //Get the username
$host = "localhost:3306"; //Get the url of the database
$host = "10.9.0.29"; //Get the url of the database
$password = $_ENV["PASSWORD"]; //Get the password for the user selected
$db_name = $_ENV["DATABASE"]; //Get the name of the database
@ -24,7 +24,6 @@ function insertUserAndReturnList(): array|int
include "config.php";
$res = connection();
print(json_encode(getenv("REMOTE_ADDR")));
if ($res == -1) {
return 2;