CODE
<? include('head.php'); session_start();
if($_SESSION['prawidloweHaslo'] == 0) {
header("Location: index.php");
}
if($_SESSION['prawidloweHaslo'] == 1) {
header("Location: index.php");
} ?>
if($_SESSION['prawidloweHaslo'] == 0) {
header("Location: index.php");
}
if($_SESSION['prawidloweHaslo'] == 1) {
header("Location: index.php");
} ?>
I tyle jest kodu na stronie i nie działa. z
header("Location: http://strona.pl");
też nie działa ale za to na innej stronie taki kod:
CODE
<? Header('Location: http://youtube.com'); ?>
Działa tak samo tyle kodu żadne html itd.