![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
![]() Grupa: Zarejestrowani Postów: 17 Pomógł: 0 Dołączył: 11.02.2011 Ostrzeżenie: (0%) ![]() ![]() |
Witam.
Próbuję stworzyć skrypt logowania oparty o sesję ale wywala mi takie błędy: Kod Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\Program Files (x86)\WebServ\httpd\strona\index.php:2) in C:\Program Files (x86)\WebServ\httpd\strona\index.php on line 2 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\Program Files (x86)\WebServ\httpd\strona\index.php:2) in C:\Program Files (x86)\WebServ\httpd\strona\index.php on line 2 kod wygląda tak:
W lini drugiej w index.php includuje połączenie z bazą mysql. Z góry dziękuję za pomoc. Ten post edytował Harsay 7.02.2012, 18:47:19 |
|
|
![]()
Post
#2
|
|
![]() Grupa: Moderatorzy Postów: 8 989 Pomógł: 1550 Dołączył: 8.08.2008 Skąd: Słupsk/Gdańsk ![]() |
Temat omawiany i rozwiązywany setki razem. Poszukaj troszkę.
-------------------- |
|
|
![]() ![]() |
![]() |
Aktualny czas: 21.08.2025 - 18:46 |