The following files exists in this folder. Click to view.
db.php17 lines ASCII Unix (LF)
<?php
$dsn = "mysql:host=server1.serverdrift.com;dbname=als060502sa_M06;charset=utf8mb4";
$user = "Intentionally removed by CSource";
$pass = "Chesterb3000";
try {
$pdo = new PDO($dsn, $user, $pass);
$pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
} catch (PDOException $e) {
echo "<strong>PDO-fel:</strong> " . $e->getMessage();
exit;
}
//catch (PDOException $e) {
//die("Kunde inte ansluta: " . $e->getMessage());
//}
?>