I seem to have a problem starting a session. The code I'm using is:
<head>
<title>Test Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFFF">
<p>This is a test</p>
<?php
session_start();
?>
</body>
..and the result is:
This is a test
Warning: Cannot send session cookie - headers already sent by (output started at C:\Inetpub\wwwroot\index.php:9) in C:\Inetpub\wwwroot\index.php on line 10
Warning: Cannot send session cache limiter - headers already sent (output started at C:\Inetpub\wwwroot\index.php:9) in C:\Inetpub\wwwroot\index.php on line 10
Anybody any ideas. Thanks in advance.
Shaun