<? include(\"zalogowany.html\"); } else { print(\"<BR>Jeśli chcesz się zarejestrować to się <A HREF='register.php'>ZAREJSTRUJ</A><BR><BR>\"); include(\"licznik.txt\"); include(\"last.txt\"); include(\"lastlog.txt\"); } ?>
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
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 :
<? $user_file = \"data/$user.txt\"; { $pa = $pass; $podzial2 = $podzial[3]; if($pa == $podzial2) { include(\"zalogowany.html\"); $user2 = $user_file; } else { include(\"przypomnij.html\"); } } else { } ?>
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
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
