From 158d2825e08c20ae8ceffd4939c5425f1c5b1adc Mon Sep 17 00:00:00 2001 From: "remi.biette" Date: Fri, 10 May 2019 09:43:17 +0200 Subject: [PATCH] Modification du systeme de connexion a la bd --- WEB/connectionBD.php | 14 +------------- WEB/deconnexion.php | 26 ++++++++------------------ WEB/index.php | 3 +-- WEB/inscription.php | 3 +-- 4 files changed, 11 insertions(+), 35 deletions(-) diff --git a/WEB/connectionBD.php b/WEB/connectionBD.php index 8ee39c4..4541648 100644 --- a/WEB/connectionBD.php +++ b/WEB/connectionBD.php @@ -1,19 +1,7 @@ - + $db = pg_connect("host=$host port=5432 dbname=$dbname user=$user password=$pass") or die("Erreur lors de la connexion à la base de données."); \ No newline at end of file diff --git a/WEB/deconnexion.php b/WEB/deconnexion.php index c4dfb65..02d7c42 100644 --- a/WEB/deconnexion.php +++ b/WEB/deconnexion.php @@ -1,21 +1,11 @@