PROJET-WEB_STRI1A/WEB/connexionBD.php

8 lines
236 B
PHP
Raw Permalink Normal View History

<?php
2019-05-21 16:06:03 +02:00
$host = "localhost";
$dbname = "projet";
$user = "utilisateur";
$pass = "-stri-";
$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.");
?>