<? include("db.class.php"); $db = new DB(); include("core.class.php"); $c = new core($db); include("galeria.class.php"); $g = new galeria($db); //.......... ?>
potem uruchamiam funkcje która dodaje ciasteczko
<?php public function kod() { $dlugosc = 6; // od 2 do n for($a=0 ; $a < $dlugosc ; $a++) { $n = $wylosowane_liczby[$a]; $tex[$a] = $litery[$n]; } } ?>
i otrzymuje błąd...
Kod
Warning: Cannot modify header information - headers already sent by (output started at /home/lukaszco/public_html/agawa/index.php:1) in /home/s/public_html/agawa/core.class.php on line 98
przecież wszystko jest jak być powinno...
Na localhoscie nie ma problemu, przecież wszystko mam ok
Pozdrawiam