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');