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

Posty w temacie
- chou   [Bląd] Cookie ?   18.12.2005, 18:20:07
- - nospor   http://php.pl/artykuly/dla_poczatkujacych/...ch_pr...   18.12.2005, 18:23:33


Closed TopicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 20.08.2025 - 00:08