ReadXMLConfig("dbconfig.xml.php"); //Your LOCAL MySQL database login details //This is the login details the webserver will use to contact the local database on the SAM Broadcaster server. //This is only used for making dedications from the request window. //$db->ReadXMLConfig("samdb.xml.php"); $samlogin = $db->login; //In most cases the remote database will be the same as the local database. //Finally connect to the database $db->connect(); ?>