This commit is contained in:
Francois Lesueur
2022-03-24 08:31:23 +01:00
parent 020a7b9883
commit 35d3ab5f34
18 changed files with 509 additions and 0 deletions

9
tp5-files/webapp/db.inc.php Executable file
View File

@ -0,0 +1,9 @@
<?php
$logindb = 'www';
$passworddb = 'foo';
$dbconn = pg_connect("host=postgres dbname=clientsdb user=$logindb password=$passworddb")
or die('Connexion impossible : ' . pg_last_error());
?>