if ($_SERVER["SERVER_NAME"]=="server" || $_SERVER["SERVER_NAME"]=="localhost" || $_SERVER["SERVER_NAME"]=="jongbloets.intern.aceview.nl" || $_SERVER["SERVER_NAME"]=="jongbloets.office.aceview.nl") { GLOBAL $tableprefix; $tableprefix=""; GLOBAL $db_server; $db_server="localhost"; GLOBAL $db_name; $db_name="devetenjongbloets"; GLOBAL $db_user; $db_user="aceview"; GLOBAL $db_password; $db_password="VacEn25N"; GLOBAL $absolutepath; $absolutepath="http://jongbloets.intern.aceview.nl"; GLOBAL $cmsfolder; $cmsfolder="cms/"; }else{ GLOBAL $tableprefix; $tableprefix=""; GLOBAL $db_server; $db_server="localhost"; GLOBAL $db_name; $db_name="devetenjong"; GLOBAL $db_user; $db_user="devet"; GLOBAL $db_password; $db_password="saal657"; GLOBAL $absolutepath; $absolutepath="http://www.jongbloets.nl/"; GLOBAL $cmsfolder; $cmsfolder="cms/"; } $db = mysql_connect($db_server, $db_user, $db_password); mysql_select_db($db_name,$db); extract($_POST); extract($_GET); ?>