![]() |
![]() |
-Wieviór- |
![]()
Post
#1
|
Goście ![]() |
Mam prosty do rozwiązania problem, mianowicie chce zrobić, że jeżeli użytkownik jest zalogowany to sesja się otwiera i pokazują mu się jego dane itp., jeżeli nie to pokazuje się formularz logowania. No i wszystko mam:
No i wszystko git, tyle że. Jeżeli sesja nie istnieje to strona generuje mi o tym błąd: Cytat Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/mateooo/public_html/premiership/new-wievior/index.php:16) in /home/mateooo/public_html/premiership/new-wievior/prawe.php on line 1 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/mateooo/public_html/premiership/new-wievior/index.php:16) in /home/mateooo/public_html/premiership/new-wievior/prawe.php on line 1 Czyli potrzebuje czegoś w stylu instrukcji do sprawdzenia czy sesja istnieje. Ten post edytował Wieviór 17.06.2004, 15:35:20 |
|
|
![]() ![]() |
![]() |
Aktualny czas: 20.08.2025 - 16:53 |