![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 284 Pomógł: 1 Dołączył: 15.08.2013 Ostrzeżenie: (0%) ![]() ![]() |
|
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 1 933 Pomógł: 460 Dołączył: 2.04.2010 Skąd: Lublin Ostrzeżenie: (0%) ![]() ![]() |
|
|
|
![]()
Post
#3
|
|
Grupa: Zarejestrowani Postów: 284 Pomógł: 1 Dołączył: 15.08.2013 Ostrzeżenie: (0%) ![]() ![]() |
Zakomentuj wszystkie header("Location...") i daj na samym dole kodu: I wklej tutaj. array(1) { ["Authenticated"]=> int(0) } array(1) { ["action"]=> string(5) "login" } array(2) { ["username"]=> string(4) "test" ["password"]=> string(4) "test" } Dodam, że login i haslo nie są złe bo zmieniłem na tak: Kod if(isset($_POST['username']) && ($_POST['username'] == 'test') && isset($_POST['password']) && ($_POST['password'] == 'test')) { $_SESSION['Authenticated'] = 1; }else{ ?> <script>alert("Zły login lub hasło!");</script> <?php $_SESSION['Authenticated'] = 0; } i alertu niema :C Ten post edytował bartek4175 13.02.2015, 18:57:01 |
|
|
![]() ![]() |
![]() |
Aktualny czas: 13.10.2025 - 14:21 |