Location: PHPKode > scripts > PHP Classified script made easy > php-classified-script-made-easy/openclassifiedsdownload24124/Files/rss_connect.php
<?
include("inc/config.php");

DEFINE ('DB_USER', $globalConfig['dbuser']); 
DEFINE ('DB_PASSWORD', $globalConfig['dbpass']); 
DEFINE ('DB_HOST', $globalConfig['dbhost']); 
DEFINE ('DB_NAME', $globalConfig['dbase']); 

  // Make the connnection and then select the database.
  $dbc = @mysql_connect (DB_HOST, DB_USER, DB_PASSWORD) OR die ('Could not connect to MySQL: ' . mysql_error() );
  mysql_select_db (DB_NAME) OR die ('Could not select the database: ' . mysql_error() );
?>
Return current item: PHP Classified script made easy