LPCyber/tp5-files/webapp/db.inc.php
Francois Lesueur 35d3ab5f34 tp5 bd
2022-03-24 08:31:23 +01:00

10 lines
198 B
PHP
Executable File

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