//header("Content-Type: text/html; charset=ISO-8859-1",true); $d = ""; $f = "config/config.inc.php"; while (! file_exists($d.$f)) { $d .= "../"; } require($d.$f); include($d."includes/functions.php"); include($d."includes/connect.inc.php"); ?>