
$tresc = "<? header(\"Location: http://".$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF'])."szablon1/index.php\"); ?>";
$tresc = "<? header(\"Location: http://{$_SERVER[HTTP_HOST]}\".dirname($_SERVER[PHP_SELF]).\"szablon1/index.php\"); ?>";