![]() |
|
Problem Web site 3.6.2 - Printable Version +- LCKB (https://lckb.dev/forum) +-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109) +--- Forum: Website Scripting & Security (https://lckb.dev/forum/forumdisplay.php?fid=197) +---- Forum: LastChaos - CMS (https://lckb.dev/forum/forumdisplay.php?fid=182) +----- Forum: ToXiC Support (https://lckb.dev/forum/forumdisplay.php?fid=206) +----- Thread: Problem Web site 3.6.2 (/showthread.php?tid=4381) |
- poran - 01-09-2015 Hey help me is problem new account and login serwer episode 3 - piece_of_shiz - 01-09-2015 only with edytar - poran - 01-09-2015 <?php // Show PHP Errors error_reporting(E_ALL); ini_set('display_errors', '0'); // change 0 = off 1 = on // Your Name $server_owner = 'VirusLC'; // Mysql IP $LCSET['cms_host'] = '127.0.0.1'; // dns or ip // Mysql Login $LCSET['cms_username'] = 'root'; // Mysql username $LCSET['cms_password'] = '******'; // Mysql password // Mysql Databases $LCSET['cms_lc_auth'] = 'newproject_db_auth'; // auth database $LCSET['cms_lc_db'] = 'newproject_db'; // db database $LCSET['cms_lc_data'] = 'newproject_data'; // data database $LCSET['cms_lc_site'] = 'cms_demo'; // Website Database Name /* Change this to your newproject_db or newproject_db_auth If things on the site don't work like online players, payment wall, Buy Stats, Pet Covers etc etc */ $LCSET['cms_lc_authORdb'] = 'newproject_db_user'; /* SMTP Server PHP Support set to yes if your php supports smtp. Set to no if you get smtp error when registering. */ $Allow_Email_sending = 'no'; // no or yes // IMPORTANT : // Never share this salt with anyone! //(you should change this to match your server if running ep2!!) $config["Salt"] = 'phoohie1yaihooyaequae7PuiWoeNgahjieth3ru3yeeghaepahb7aeYaipe2we6zii6mai6uweig8siasheinoungeoyeiLohShi2xoh2xi8ooxee9ahpiehahc9Phe'; // Your Time Zone // List of Supported Timezones // 2 date_default_timezone_set('Europe/London'); // Added Security Option $LC_Host = $LCSET['cms_host']; $LC_User = $LCSET['cms_username']; $LC_Pass = $LCSET['cms_password']; $LC_Auth = $LCSET['cms_lc_auth']; $LC_Db = $LCSET['cms_lc_db']; $LC_Data = $LCSET['cms_lc_data']; $LC_Act = $LCSET['cms_lc_authORdb']; $LC_CMSDb = $LCSET['cms_lc_site']; // PDO Connector $pdo_cms = sprintf("mysql:host=%s", $LC_Host ); // PDO Test Connection try { $con_cms_pdo = new PDO( $pdo_cms,$LC_User,$LC_Pass ); } catch(PDOException $e) {die('<title>CONFIG ERROR</title><body text="#C0C0C0" bgcolor="#000000"><center><img src="styles/Metal/images/error.png" border="0"><br/><font color=red size=4>Error connecting to the Mysql server</font><br/>If your the admin please check your config settings.<br/>If your not then there is no connection to Mysql sorry, come back later.<br/><br/><br/>-LC-CMS By ToXiC L33T-</body>');} ?> - piece_of_shiz - 01-09-2015 LC-CMS By ToXiC L33T problem is here - poran - 01-09-2015 what i do 2 - piece_of_shiz - 01-09-2015 just use another website which is a little bit secure than this one - poran - 01-09-2015 give some the server? episode 3 |