Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> 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

Posty w temacie


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: 20.12.2025 - 17:36