<?php
// ISO 27001 – Secure Database Connection

$db_host = "localhost";
$db_name = "edmsojeo_Dev";
$db_user = "edmsojeo_george";
$db_pass = "Kareposi@1986";

try {
    $pdo = new PDO("mysql:host=$db_host;dbname=$db_name;charset=utf8mb4", $db_user, $db_pass);
    $pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
} catch (PDOException $e) {
    die("Database connection failed.");
}
