This is my header.html file:
<?php
ob_start();
session_start();
if (!isset($page_title)) {
$page_title = 'Welcome';
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
...
When i try to include it in my php files i get the following error:
Warning: session_start(): Cannot send session cookie - headers already sent by...
Anybody knows the reason?