Molhi by ste sa prosím vás niekto mrknúť na toto.
mám problém s kódovaním na jednej stránke. nefunguje len v úvode, v dalších súboroch je v pohode -> http://www.kukucka.wz.sk
kódovanie je nastavené na utf-8
zdrojový kód indexu
Spoiler: ukázať
<?php
ob_start();
?>
<?php
header("Content-Type: text/html; charset=utf-8");
echo "<?xml version=\"1.0\" encoding=\"utf-8\"?>";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="sk" lang="sk">
<head>
<title>VB.NET</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="../style.css" type="text/css" media="screen" />
<script src="script.js" type="text/javascript"></script>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="styles.css" />
</head>
<body>
<div id="container">
<div id="hlavicka"><p><a href="index.php"><img src="obr/vblogo.png" alt="logo"/></a></p></div>
<div id="wrapper">
<div id="content">
<?php
if (isset($_GET['page'])) {
switch($_GET['page']) {
case "zaciname": include("podstranky/zaciname.htm"); break;
case "datove_typy": include("podstranky/datove_typy.htm"); break;
case "obchod": include("podstranky/obchod.htm"); break;
case "kontakt": include("podstranky/kontakt.htm"); break;
default: include("podstranky/uvod.htm"); break;
}
}
else {
include("podstranky/uvod.htm");
}
?>
</div>
</div>
<div id="lpanel">
<?php include("menu.htm");?>
</div>
<div id="ppanel">
<?php include("podstranky/prihlasenie.php");?>
</div>
<div id="pata">
<p><a href="http://www.microsoft.com">Microsoft</a><a href="http://msdn.microsoft.com/en-us/library ... px">VB.NET referenčná príručka</a><a href="http://www.vbtutor.net/">VB tutoriály v angličtine</a></p>
</div>
</div>
</body>
</html>
ob_start();
?>
<?php
header("Content-Type: text/html; charset=utf-8");
echo "<?xml version=\"1.0\" encoding=\"utf-8\"?>";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="sk" lang="sk">
<head>
<title>VB.NET</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="../style.css" type="text/css" media="screen" />
<script src="script.js" type="text/javascript"></script>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="styles.css" />
</head>
<body>
<div id="container">
<div id="hlavicka"><p><a href="index.php"><img src="obr/vblogo.png" alt="logo"/></a></p></div>
<div id="wrapper">
<div id="content">
<?php
if (isset($_GET['page'])) {
switch($_GET['page']) {
case "zaciname": include("podstranky/zaciname.htm"); break;
case "datove_typy": include("podstranky/datove_typy.htm"); break;
case "obchod": include("podstranky/obchod.htm"); break;
case "kontakt": include("podstranky/kontakt.htm"); break;
default: include("podstranky/uvod.htm"); break;
}
}
else {
include("podstranky/uvod.htm");
}
?>
</div>
</div>
<div id="lpanel">
<?php include("menu.htm");?>
</div>
<div id="ppanel">
<?php include("podstranky/prihlasenie.php");?>
</div>
<div id="pata">
<p><a href="http://www.microsoft.com">Microsoft</a><a href="http://msdn.microsoft.com/en-us/library ... px">VB.NET referenčná príručka</a><a href="http://www.vbtutor.net/">VB tutoriály v angličtine</a></p>
</div>
</div>
</body>
</html>