![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 32 Pomógł: 0 Dołączył: 27.02.2005 Ostrzeżenie: (0%) ![]() ![]() |
Mam taki kod. I wyświetla mi się błąd : Cytat Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at c:\usr\krasnal\www\2\system_logownia_by_whitemaster\index.php:2) in c:\usr\krasnal\www\2\system_logownia_by_whitemaster\index.php on line 3 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at c:\usr\krasnal\www\2\system_logownia_by_whitemaster\index.php:2) in c:\usr\krasnal\www\2\system_logownia_by_whitemaster\index.php on line 3 W dodatku mam też taki kod :
i wywskakuje błąd : Cytat Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at c:\usr\krasnal\www\2\system_logownia_by_whitemaster\zalogowany.html:1) in c:\usr\krasnal\www\2\system_logownia_by_whitemaster\login.php on line 14 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at c:\usr\krasnal\www\2\system_logownia_by_whitemaster\zalogowany.html:1) in c:\usr\krasnal\www\2\system_logownia_by_whitemaster\login.php on line 14 Nie rozumiem, czego jest taki błąd. Może wy będziecie wiedzieli (IMG:http://forum.php.pl/style_emoticons/default/smile.gif) |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Przyjaciele php.pl Postów: 1 789 Pomógł: 41 Dołączył: 30.10.2003 Skąd: Wrocław Ostrzeżenie: (0%) ![]() ![]() |
funkcja session_start() musi być wywołana na samym początku kodu
|
|
|
![]()
Post
#3
|
|
Grupa: Zarejestrowani Postów: 32 Pomógł: 0 Dołączył: 27.02.2005 Ostrzeżenie: (0%) ![]() ![]() |
WIELKI DZIKI (IMG:http://forum.php.pl/style_emoticons/default/exclamation.gif) !!
|
|
|
![]() ![]() |
![]() |
Aktualny czas: 22.08.2025 - 13:25 |