Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [Bląd] Cookie ?, Warning: Cannot modify header ...
chou
post
Post #1





Grupa: Zarejestrowani
Postów: 18
Pomógł: 0
Dołączył: 16.12.2005

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


Witam!

Nie rozumiem mojego problemu :/
a oto on:

Cytat
Warning: Cannot modify header information - headers already sent by (output started at .......ner\index.php:9) in ......ner\include\phpLang.php on line 154



INDEX.php (jest prawie pusty,)
  1. 9---> <?php
  2.  
  3. require_once 'include/phpLang.php';
  4. include 'include/index.html';
  5.  
  6.  
  7. ?>


PHPLANG.php
  1. <?php
  2.  
  3. if(defined('phpLang_current')) {
  4. if(phpLang_useCookie) {
  5. /*154 -->*/ setcookie('phpLangCookie', phpLang_current, time() + 60*60*24*365);
  6. }
  7.  
  8. ?>


Czy ktoś mógłby mi pomoc ewt. wskazać dorgę ?

Dzięki
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 1)
nospor
post
Post #2





Grupa: Moderatorzy
Postów: 36 557
Pomógł: 6315
Dołączył: 27.12.2004




http://php.pl/artykuly/dla_poczatkujacych/...ch_programistow

oraz
http://forum.php.pl/index.php?act=Search&C...rs+already+sent

ile razy mozna?
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: 23.08.2025 - 18:45