HEX
Server: Apache/2
System: Linux mail.lnwhostname.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
User: suanchonac (1128)
PHP: 7.4.25
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/suanchonac/domains/suanchon.ac.th/private_html/queen/include/inc_config.php
<?php
/*
if (stristr(htmlentities($_SERVER['PHP_SELF']), "inc_config.php")) {
	die("<table style='padding: 2px; border: 1px solid #999; background-color: #EEE; font-family: Verdana; font-size: 10px;' align='center'><tr><td><b>Error:</b> This file cannot be opened directly!</td></tr></table>");
}

//===================================
//CONFIGURATION
//===================================

$db_host = "localhost"; //MySQL Host
$db_user = "suanchonac_queen"; //MySQL Username
$db_pass = "Oh040131"; //MySQL Password
$db_name = "suanchonac_queen"; //MySQL Database Name

$collum_page=2; //collum in your webpage
*/

$servername = "localhost";
$username = "suanchonac_queen";
$password = "Oh040131";
$dbname = "suanchonac_queen";

/*$servername = "127.0.0.1:3306";
$username = "kittisak";
$password = "076200207";
$dbname  = "student";*/

// Create connection
$conn = mysqli_connect($servername, $username, $password, $dbname);
//$select_db = mysql_select_db($dbname);
/*mysql_query("SET character_set_results=utf8");
mysql_query("SET character_set_client=utf8");
mysql_query("SET character_set_connection=utf8");*/

$date = date_default_timezone_set("Asia/Bangkok");
mysqli_set_charset($conn, "utf8");

if (mysqli_connect_errno($conn)) {
    echo 'fail';
}

?>