ProShell v2.0
Dashboard
Server Info
Server: 158.106.128.192
PHP: 8.2.33
home
planet5
public_html
bansibaba.com
2026-09-12 21:45:54
Editing: 202-config-sample.php
Cancel
Save Changes
<?php // ** MySQL settings** // $dbname = 'putyourdbnamehere'; // The name of the database $dbuser = 'usernamehere'; // Your MySQL username $dbpass = 'yourpasswordhere'; // ...and password $dbhost = 'localhost'; // 99% chance you won't need to change this value $mchost = 'localhost'; // this is the memcache server host, if you don't know what this is, don't touch it. /* ---DONT EDIT ANYTHING BELOW THIS LINE!--- */ // Database connection class class DB { private $_connection; private static $_instance; // The single instance /* * Get an instance of the Database * @return Instance */ public static function getInstance() { if (! self::$_instance) { // If no instance then make one self::$_instance = new self(); } return self::$_instance; } // Constructor private function __construct() { global $dbhost; global $dbuser; global $dbpass; global $dbname; $this->_connection = new mysqli($dbhost, $dbuser, $dbpass, $dbname); } // Magic method clone is empty to prevent duplication of connection private function __clone() {} // Get mysqli connection public function getConnection() { return $this->_connection; } } try { $database = DB::getInstance(); $db = $database->getConnection(); } catch (Exception $e) { $db = false; }
Upload Files
Cancel
Upload
Create New
Cancel
Create
Change Permissions
Cancel
Save
Change Date
Cancel
Save
Rename Item
Cancel
Save
Confirm Delete
Are you sure you want to delete the selected items?
Cancel
Delete