//include_once 'functions.php'; //include_once 'displayvars.php'; include_once 'server.php'; //open password file $ini = parse_ini_file(PROTECTED_ROOT.'/icadi-mysql.ini'); /*old method $file = fopen("/mnt/eve/share/icadi/access/icadi-db.rc", "r"); while (!feof($file)){ $line = fgets ($file, 80); if(preg_match("/^USERNAME\t(.+)/",$line, $match)) { $db_username = chop($match[1]); } if(preg_match("/^PASSWORD\t(.+)/",$line, $match)) { $db_password = chop($match[1]); } } fclose($file); */ //Connect to dB global $db_connection; $db_connection = mysql_connect($ini['host'],$ini['username'],$ini['password']) or die ("Couldn't connect to database."); mysql_select_db($ini['db'],$db_connection) or die ("Couldn't select database."); unset($ini['username']); unset($ini['password']); ?>
Thanks to all our partners for joining us in promoting the 2006 conference that was held in St. Petersburg, FL.