Can anyone here help me customize this smf.inc.php ?
i don't know where exactly to add my db name info it 'd be help ful if someone here could help me out ... and after i m done with the smf.inc.php what should i do next?
http://www.mixspot.com/gallery/bridge/smf.inc.txt
anyone???
Please don't bump topics.
Just set the path:
$path = '../smf';
That's it. Read the documentation provided with the file for more information.
-[Unknown]
at the bottom of the smf.inc.php
// ------------------------------------------------------------------------- //
// Define wheter we can join tables or not in SQL queries (same host & same db or user)
define('UDB_CAN_JOIN_TABLES', (SMF_DB_HOST == $CONFIG['dbserver'] && (SMF_DB_NAME == $CONFIG['dbname'] || SMF_DB_USERNAME == $CONFIG['dbuser'])));
// Connect to SMF Database if necessary
$UDB_DB_LINK_ID = 0;
$UDB_DB_NAME_PREFIX = SMF_DB_NAME ? '`' . SMF_DB_NAME . '`.' : '';
if (!UDB_CAN_JOIN_TABLES) {
$UDB_DB_LINK_ID = @mysql_connect(SMF_DB_HOST, SMF_DB_USERNAME, SMF_DB_PASSWORD);
if (!$UDB_DB_LINK_ID) die("<b>Coppermine critical error</b>:<br />Unable to connect to SMF Board database !<br /><br />MySQL said: <b>" . mysql_error() . "</b>");
mysql_select_db (SMF_DB_NAME, $UDB_DB_LINK_ID);
}
?>
what should i do? leave it like that or add my my db info
Lainaus käyttäjältä: mennou - helmikuu 27, 2005, 10:09:05 IP
at the bottom of the smf.inc.php
Leave it alone, that stuff all autodetects it for you.
-[Unknown]
the registration seem not to work ... still the same one
gallery
www.mixspot.com/gallery
Forum
www.mixspot.com/community
Lainaus käyttäjältä: [Unknown] - helmikuu 27, 2005, 10:45:14 IP
Lainaus käyttäjältä: mennou - helmikuu 27, 2005, 10:09:05 IP
at the bottom of the smf.inc.php
Leave it alone, that stuff all autodetects it for you.
-[Unknown]
Mennou "forgot" to reply here that he/she started another thread on the coppermine support board dealing with the very same issue: http://coppermine.sourceforge.net/board/index.php?topic=15355.0
Joachim