ob_start(); header("Content-Type: text/html; charset=ISO-8859-1"); session_start(); $success=''; $error=''; //debug flag $debugmode='ON'; //check flag to switch on usefull error reporting //if(isset($debugmode) && $debugmode=='OFF') { //ini_set('display_startup_errors',1); //ini_set('display_errors',1); //error_reporting(-1); //} error_reporting(0); //main db connect file include ('db_connect.php'); //main db connect file include ('php_functions_client_new.php'); //set date and timezone defualt date_default_timezone_set('Asia/Manila'); $d = date("Y-m-d H:i:s"); //the base url for site $domain = $_SERVER['SERVER_NAME']; //the base url for site $base = "http://".$domain; if(isset($_REQUEST['error'])) { $error=$_REQUEST['error']; } ?>