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