HEX
Server: Apache/2
System: Linux sv2.klungbaan.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: klungadmin (1002)
PHP: 7.4.33
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/klungadmin/domains/klungbaan.com/private_html/bureau/connect.php
<?php
$host="localhost"; //ชื่อ host 

//$db_user="root";  //ชื่อ user ที่เข้าใช้ db 
//$db_password="1234"; // pass ของ db 
//$dbname="db_baand_bureau"; //ชื่อ db 

$db_user="klungadmin_wp";  //ชื่อ user ที่เข้าใช้ db 
$db_password="Ba@&dC0m2Oi6"; // pass ของ db 
$dbname="klungadmin_bureau"; //ชื่อ db     

// Create connection
$conn = new mysqli($host, $db_user, $db_password, $dbname);
// Check connection
if ($conn->connect_error) {
    die("Connection failed: " . $conn->connect_error);
} 
mysqli_query($conn, "set names utf8");
 ?>