tp5 bd
This commit is contained in:
9
tp5-files/webapp/db.inc.php
Executable file
9
tp5-files/webapp/db.inc.php
Executable 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());
|
||||
|
||||
|
||||
?>
|
Reference in New Issue
Block a user