poczatek index.php:
?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="pl" lang="pl"> <head>[...]
poczatek config.php:
<?php function conn($root, $login, $pass, $dbname){ } [...] ?>
I oczywiscie pokazuje mi komunikat:
Kod
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/m/a/t/matty/www/index.php:1) in /home/m/a/t/matty/www/index.php on line 1
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/m/a/t/matty/www/index.php:1) in /home/m/a/t/matty/www/index.php on line 1
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/m/a/t/matty/www/index.php:1) in /home/m/a/t/matty/www/index.php on line 1
W pliku config.php sprawdzilem, nie ma nic o sesji. Jak zrobic zeby dzialala strona i zeby byla wlaczona sesja?