![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 51 Pomógł: 0 Dołączył: 7.07.2014 Ostrzeżenie: (0%) ![]() ![]() |
Witam. Mam nietypowy problem [przynajmniej tak myślę] Header nie działa.
CODE <? include('head.php'); session_start(); 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. Ten post edytował Ivanowski 19.09.2014, 18:10:31 |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 203 Pomógł: 55 Dołączył: 23.11.2008 Skąd: UKF Ostrzeżenie: (0%) ![]() ![]() |
Wszystkie...
Najpierw nagłówki potem include pliku z html (IMG:style_emoticons/default/smile.gif) |
|
|
![]() ![]() |
![]() |
Aktualny czas: 8.10.2025 - 10:49 |