![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 33 Pomógł: 0 Dołączył: 3.08.2005 Ostrzeżenie: (0%) ![]() ![]() |
Mam takie coś:
I wyskakują takie błędy: Warning: Cannot modify header information - headers already sent by (output started at c:\program files\easyphp1-8\www\strona\index.php:15) in c:\program files\easyphp1-8\www\strona\login.php on line 79 Warning: Cannot modify header information - headers already sent by (output started at c:\program files\easyphp1-8\www\strona\index.php:15) in c:\program files\easyphp1-8\www\strona\login.php on line 80 Warning: Cannot modify header information - headers already sent by (output started at c:\program files\easyphp1-8\www\strona\index.php:15) in c:\program files\easyphp1-8\www\strona\login.php on line 81 Są to te linie: setcookie('loged', $loged, 0); setcookie('login', $log, 0); Header('Location:'.$_SERVER['REQUEST_URI']); Co mam zrobić żeby tych błędów nie było?? |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Przyjaciele php.pl Postów: 2 605 Pomógł: 96 Dołączył: 22.10.2004 Skąd: UK Ostrzeżenie: (0%) ![]() ![]() |
Testowałem przed chwilą u siebie, jeśli mam tak http://dev.club.webhost.pl/source/ob_start.phps to wszystko działa bez problemu. Jeśli nie pomaga to już nie wiem czego to może być wina.. (IMG:http://forum.php.pl/style_emoticons/default/sad.gif)
Z błędu wynika że masz coś przed wysłaniem nagłówka, musi tam coś być - sprawdź dokładniej. Pozdrawiam! |
|
|
![]() ![]() |
![]() |
Aktualny czas: 16.10.2025 - 04:51 |