This repository has been archived on 2021-12-22. You can view files and clone it, but cannot push or open issues or pull requests.
|
<?php
|
|
include('config/main.php');
|
|
|
|
try{
|
|
$db = new PDO('mysql:host='.$config['dbHost'].';dbname='.$config['dbName'].';charset=utf8', $config['dbUser'], $config['dbPasswd']);
|
|
}catch(PDOException $e){
|
|
print "Erreur !: " . $e->getMessage() . "<br/>";
|
|
die();
|
|
}
|
|
?>
|