Import initial du site depuis le serveur

This commit is contained in:
WhyKorp's server
2026-04-27 06:52:16 +00:00
parent 81b39e856b
commit f57f9fe1d5
1871 changed files with 214417 additions and 32138 deletions
+13 -13
View File
@@ -1,14 +1,14 @@
<?php
// db.php
$host = 'localhost';
$username = 'root';
$password = '';
$database = 'poker_paf';
try {
$db = new PDO("mysql:host=$host;dbname=$database;charset=utf8", $username, $password);
$db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
} catch (PDOException $e) {
die("Erreur de connexion : " . $e->getMessage());
}
<?php
// db.php
$host = 'localhost';
$username = 'root';
$password = '';
$database = 'poker_paf';
try {
$db = new PDO("mysql:host=$host;dbname=$database;charset=utf8", $username, $password);
$db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
} catch (PDOException $e) {
die("Erreur de connexion : " . $e->getMessage());
}
?>