$db_user = "www"; $db_password = "oLZ6PrS"; $db_name = "ids"; $db_host = "localhost"; include(dirname(__FILE__)."/func.php"); $con = new connection($db_user , $db_password , $db_host , $db_name) or die("ERROR connection".$con->error); include(dirname(__FILE__)."/auth.php"); $url = (empty($_SERVER['PATH_INFO']) ? "home" : preg_replace("/\.\./","",$_SERVER['PATH_INFO'])); $url = explode("/",$url); array_shift($url); # Variables ########################### $base = "/"; $burl = "/site.php/"; $local = dirname(__FILE__); ######################################## print ''; ?>