Mam takie dwa problemy...
Pierwszy to taki, że jak odpalam stronkę za pomocą krasnala to tam gdzie mam session_start() to wyrzuca mi błąd o takiej treści:
Kod
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at c:\usr\apache\httpd\html\cms\index.php:4) in c:\usr\apache\httpd\html\cms\include\logo.php on line 80 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at c:\usr\apache\httpd\html\cms\index.php:4) in c:\usr\apache\httpd\html\cms\include\logo.php on line 80
Oraz drugi problem.... Tam gdzie mam setcookie("licznik","1",time()+3*3600) mam błąd:
Kod
Warning: Cannot modify header information - headers already sent by (output started at c:\usr\apache\httpd\html\cms\index.php:4) in [b]c:\usr\apache\httpd\html\cms\licznik.php[/b] on line [b]60[/b]
Co zrobić aby nie było tych błędów??
Pozdrawiam