PHP "function.session-start" error.
Error: Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/kolzy/public_html/xx/index.php:7) in /home/kolzy/public_html/xx/config.php on line 15
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/kolzy/public_html/xx/index.php:7) in /home/kolzy/public_html/xx/config.php on line 15
index.php
PHP Code:
<?php
require_once("config.php");
if($logged['in'] === 0){
?>HTML<?php
}
else{
?>HTML<?php } ?>
config.php - line 15
PHP Code:
session_start();
+rep