Headers allready sent issue
Posted: Mon Mar 06, 2006 11:00 pm
Hi, I have inserted the following code into the header page of the script:
followed by the rest if the code ie:
I thought that ob_start() would clear the problem.
Any ideas, its been created in notepad.
Thanks
Code: Select all
<?php ob_start(); session_start(); header("Cache-control: private"); ?>Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html
xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" type="text/css"
href="http://www.whatever.com/templates/style/site.css" />
<title><?php .......Any ideas, its been created in notepad.
Thanks