File Manager
Pro
/data/web/virtuals/8819/virtual/www/subdom/23/includes
PHP 7.4.33
Linux
/data/web/virtuals/8819/virtual/www/subdom/23/includes/database.php
455 B
0640
Back
<?php $db = new mysqli($CONF['host'], $CONF['user'], $CONF['pass'], $CONF['name']); if ($db->connect_errno) { echo "Failed to connect to MySQL: (" . $db->connect_errno . ") " . $db->connect_error; } $db->set_charset("utf8mb4"); // Verify whether the user imported the database or not $resultSettings = $db->query(getSettings()); if($resultSettings) { $settings = $resultSettings->fetch_assoc(); } else { echo "Error: ".$db->error; }
Cancel
Download
Save changes
File Manager Pro · single-file PHP 7.4.33 on Linux · paths encrypted in URL (AES-256-CTR)