Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Closed TopicStart new topic
> Problem z funkcją session_start
bloody09
post
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
wookieb
post
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
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 16.09.2025 - 03:31