diff --git a/Sources/php_script/script/config.php b/Sources/php_script/script/config.php index 370a729..42401e0 100644 --- a/Sources/php_script/script/config.php +++ b/Sources/php_script/script/config.php @@ -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 diff --git a/Sources/php_script/script/insertAndMakeListUser.php b/Sources/php_script/script/insertAndMakeListUser.php index 618ef43..c4b6210 100644 --- a/Sources/php_script/script/insertAndMakeListUser.php +++ b/Sources/php_script/script/insertAndMakeListUser.php @@ -24,7 +24,6 @@ function insertUserAndReturnList(): array|int include "config.php"; $res = connection(); - print(json_encode(getenv("REMOTE_ADDR"))); if ($res == -1) { return 2;