You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
<?php
|
|
|
|
/**
|
|
* Connexion à la base SQLite3.
|
|
*/
|
|
$base = "/etc/postfix/db/postfix.sqlite";
|
|
|
|
try{
|
|
$pdo = new PDO("sqlite:$base");
|
|
$pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
|
|
}
|
|
catch (Exception $e){
|
|
die ("Erreur de connexion à la base \"$base\" : ".$e->getMessage());
|
|
}
|
|
|
|
?>
|