Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP]pare problemów z logowaniem
Silny
post
Post #1





Grupa: Zarejestrowani
Postów: 117
Pomógł: 2
Dołączył: 29.06.2010

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


Witam, mam problem z kolejnym skryptem logowania, tyle, że teraz praktycznie sam to zrobiłem (IMG:style_emoticons/default/winksmiley.jpg)

Gdy otwieram plik rejestracja.php lub logowanie.php to wywala mi w nagłówku taki błąd:
Cytat
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (xxxxxxxxx


Czytałem, że muszę dodać na początku

i na końcu


Ale to i tak nic nie daje -.-

drugi problem, to to, iż gdy jestem zalogowany, to powinno mnie przekierować na index.php ale wywala mi tylko błąd taki:
Cytat
Warning: Cannot modify header information - headers already sent by xxxxxxxxxx


linijka przez którą błąd wyskakuje, to
  1. header('Location: index.php ');


proszę o pomoc
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: 23.08.2025 - 07:50