Server IP : 162.0.209.157 / Your IP : 3.147.78.249 [ Web Server : LiteSpeed System : Linux premium178.web-hosting.com 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64 User : balaoqob ( 2395) PHP Version : 8.0.30 Disable Function : NONE Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /var/softaculous/clip/ |
Upload File : |
<?php /** * @Software : ClipBucket * @License : CBLA * @version :ClipBucket v2.1 */ $BDTYPE = 'mysql'; //Database Host $DBHOST = '[[softdbhost]]'; //Database Name $DBNAME = '[[softdb]]'; //Database Username $DBUSER = '[[softdbuser]]'; //Database Password $DBPASS = '[[softdbpass]]'; //Setting Table Prefix define('TABLE_PREFIX','[[dbprefix]]'); $db = new Clipbucket_db(); $db->connect($DBHOST,$DBNAME,$DBUSER,$DBPASS); /* require 'adodb/adodb.inc.php'; $db = ADONewConnection($BDTYPE); $db->debug = false; $db->charpage = 'cp_utf8'; $db->charset = 'utf8'; if(!$db->Connect($DBHOST, $DBUSER, $DBPASS, $DBNAME)) { exit($db->ErrorMsg()); } $db->Connect($DBHOST, $DBUSER, $DBPASS, $DBNAME); $db->SetFetchMode(ADODB_FETCH_ASSOC); $db->Execute('SET NAMES utf8'); $db->Execute('SET CHARACTER SET utf8'); $db->Execute('SET COLLATION_CONNECTION="utf8_general_ci"'); */ ?>