Server IP : 103.53.40.154 / Your IP : 18.118.255.51 Web Server : Apache System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : ppcad7no ( 715) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /var/softaculous/moodle38/../sidu/../tiki22/../clip/ |
[ Home ] | [ C0mmand ] | [ 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"'); */ ?>