Hallo Epvp,
ich habe gehört das es möglich ist, eine HP auf einen Webspace zu haben
und die DataBase auf den Root zu haben, und das die sich dann per
config.php connecten.
hier ist mal die config.inc.php von der Lost Crusade Homepage:
weiß einer wie ich das ändern muss, dass er die DB vom Root liest?
und muss man ggf. auch noch andere sachen ändern?
MfG Schmizi
ich habe gehört das es möglich ist, eine HP auf einen Webspace zu haben
und die DataBase auf den Root zu haben, und das die sich dann per
config.php connecten.
hier ist mal die config.inc.php von der Lost Crusade Homepage:
Code:
<?php
session_start();
// SQL Data
define('MSSQL_HOST', 'USER-PC\SQLEXPRESS'); // MsSQL Host
define('MSSQL_USER', 'sa'); // MsSQL Username
define('MSSQL_PASS', 'PASSWORD'); // MsSQL Password
// Connecting to MsSQL (ODBC)
$mssql = odbc_connect('Driver={SQL Server};Server='.MSSQL_HOST.';', MSSQL_USER, MSSQL_PASS);
// Including Files
include('functions.inc.php');
// Config
$_CONFIG['webtitle'] = getConfigValue('webtitle', 'Cursed Dreams || The New Begining');
$_CONFIG['forumlink'] = getConfigValue('forumlink', 'http://www.google.com');
$_CONFIG['pwdsalt'] = getConfigValue('pwdsalt', 'kikugalanet');
$_CONFIG['noreply'] = getConfigValue('noreplymail', '[Only registered and activated users can see links. Click Here To Register...]');
$_CONFIG['ppemail'] = getConfigValue('ppemail', '[Only registered and activated users can see links. Click Here To Register...]');
// Vote Sites (must be 3!)
$votelist1 = 'http://topofgames.com/'; // Top of Games
$votelist2 = 'http://www.xtremetop100.com/'; // Xtreme Top 100
$votelist3 = 'http://www.gtop100.com/'; // G Top 100
// PaySafeCard: Euro => Points
$psc_values = array('10,00' => '1000', '25,00' => '2500', '50,00' => '5250', '100,00' => '11000');
?>
und muss man ggf. auch noch andere sachen ändern?
MfG Schmizi