View Single Post
Old 11-11-2005, 09:07 AM   #12
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Quote:
However, I belive that the server side already has its own connect.php and it should be configured to work server side already.
Correct, but just in case the 'server-side' connect.php gets overwritten with the 'local' connect.php, all you need to do is make sure that the following in connect.php matches whatever database you are using:
Code:
    define('PHPDIG_DB_PREFIX','<dbprefix>');
    define('PHPDIG_DB_HOST','<host>');
    define('PHPDIG_DB_USER','<user>');
    define('PHPDIG_DB_PASS','<pass>');
    define('PHPDIG_DB_NAME','<database>');
Example:
Code:
    define('PHPDIG_DB_PREFIX','phpdig_');
    define('PHPDIG_DB_HOST','localhost');
    define('PHPDIG_DB_USER','username');
    define('PHPDIG_DB_PASS','password');
    define('PHPDIG_DB_NAME','database');
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote