window.open('../index.php?".$_SERVER['QUERY_STRING'] // finish processing and redirect using javascript . "','_main')"); // this method ensures that url in address bar is also changed } //********************************************************************** // End of small script //********************************************************************** //* Check System Settings include "configuration.php"; session_start(); //* Connect to Database $dbConnection = mysql_connect($SYSTEM_SETTINGS['Database Host Name'], $SYSTEM_SETTINGS['Database User Name'], $SYSTEM_SETTINGS['Database Password']) or die (mysql_error()."
Cannot connect to the db. Please contact Administrator."); $db = mysql_select_db($SYSTEM_SETTINGS['Database Name']) or die (mysql_error()."
Cannot connect to the db. Please contact Administrator."); //* Include PHP libraries // include "constants.php"; include "functions.php"; include("classes.php"); //* Load Configuration from Database $CONFIGURATION = loadConfigurationFromDB($dbConnection,"sitesettings","siteSettingsTitle","siteSettingsValue") ?>