Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Problem z funkcją session_start
bloody09
post 11.11.2011, 10:24:22
Post #1





Grupa: Zarejestrowani
Postów: 9
Pomógł: 0
Dołączył: 22.10.2011

Ostrzeżenie: (0%)
-----


Podczas wykonywania tego skryptu, przeglądarka wyświetla błąd podany poniżej.

  1. <?php
  2. session_register('logged');
  3. ?>



Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\Program Files\WebServ\httpd\php\logowanie\index.php:1) in C:\Program Files\WebServ\httpd\php\logowanie\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\WebServ\httpd\php\logowanie\index.php:1) in C:\Program Files\WebServ\httpd\php\logowanie\index.php on line 2

Jak rozwiązać ten problem?
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 1)
wookieb
post 11.11.2011, 10:28:46
Post #2





Grupa: Moderatorzy
Postów: 8 989
Pomógł: 1550
Dołączył: 8.08.2008
Skąd: Słupsk/Gdańsk




Temat omawiamy tysiące razy. Polecam użyć wyszukiwarki forumowej.
Zamykam.


--------------------
Go to the top of the page
+Quote Post

Closed TopicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 14.08.2025 - 06:43