![]() |
![]() |
![]()
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: 51 Pomógł: 0 Dołączył: 7.07.2014 Ostrzeżenie: (0%) ![]() ![]() |
Tak nietypowy ale wiem na czym polega (IMG:style_emoticons/default/smile.gif)
Tylko która linia kodu jest "błędna" CODE <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl">
<title>|| Ivanowski.pl ||</title> <head> <meta http-equiv="Content-type" content="application/xhtml+xml; charset=utf-8" /> <link rel="stylesheet" href="css/bootstrap.css" /> <link rel="stylesheet" href="css/themes/base/jquery-ui.css" /> <link rel="stylesheet" href="style.css" /> <link rel="shortcut icon" href="images/icon.ico" /> <script src="js/jquery.js"></script> <script src="js/jquery-ui.js"></script> <script src="js/jsbootstrap.js"></script> <script src="js/docs.min.js"></script> </head> |
|
|
![]() ![]() |
![]() |
Aktualny czas: 14.10.2025 - 03:05 |