This commit is contained in:
2026-01-30 17:20:52 +09:00
commit 21b6332c9c
459 changed files with 190743 additions and 0 deletions

13
kngil/bbs/db_conn.php Normal file
View File

@@ -0,0 +1,13 @@
<?php
$dsn = "pgsql:host=172.16.9.44;port=5432;dbname=KNGIL";
$user = "postgres";
$pass = "erpteam1!";
try {
$pdo = new PDO($dsn, $user, $pass, [
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION
]);
// echo "PostgreSQL 연결 성공 🎉";
} catch (PDOException $e) {
echo $e->getMessage();
}