ob_start(); session_start(); //watmisone /* $curpath =$_SERVER["SCRIPT_FILENAME"]; $cpary = explode('/',$curpath); $watmisone = ""; for($i=0; $i<(sizeof($cpary)-2); $i++) { $watmisone .= $cpary[$i]."/"; } */ $inc=$_SERVER["DOCUMENT_ROOT"]."/global_variables.php"; include($inc); include('../watmisone_variables.php'); $_SESSION['globalvariablespaths']= $watmisone_server; include($_SESSION['globalvariablespaths']."watmisone_dbconfig.php"); //$root=explode('/',$watmisone,5); //$rootpath=$root[4].'watmisone_dbconfig.php'; if(isset($_SESSION['emp_id'])) { header('Location: admin/index.php'); }/* else { echo'web'; echo ""; //header('Location: admin/web/welcome.php'); header('Location: admin/ .php'); } } */ ?>