Well on my simple page that i included above I no longer get the error. Would there be a reason why one time i would and the next i do not? Maybe I had to start the web server again???
Anyway I still do have a problem but harder to show because I use INCLUDE(s) like so:
MainPage.php looks like this:
<?php
include($_SERVER["DOCUMENT_ROOT"] . '/models/list_model.inc.php');
?>
<script>
top.MAIN.rows="0,*";
</script>
</body>
</html>
Then In my list model I do this:
<?php
include($SERVER["DOCUMENT_ROOT"] . '/include/application/core.inc.php');
include($SERVER["DOCUMENT_ROOT"] . '/include/javascript/basic_list_script.inc.php');
?>
NEXT i have in core.inc.php
<?php
include($SERVER["DOCUMENT_ROOT"] . '/include/application/auth.inc.php');
include($SERVER["DOCUMENT_ROOT"] . '/include/application/database.inc.php');
include($SERVER["DOCUMENT_ROOT"] . '/include/styles/peak_style.css');
include($SERVER["DOCUMENT_ROOT"] . '/include/application/display_rs.inc.php');
include($_SERVER["DOCUMENT_ROOT"] . '/include/application/roles.inc.php');
?>
AND finally in AUTH.INC.PHP
if( $COOKIE['USERID'] )
{
$theID = $COOKIE['USERID'];
setcookie("USERID",$theID,time()+60*15, "/", "", 0);
And i get this error:
Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\Apache Group\Apache2\htdocs\Peak\pages\admin\roles\role_search_list.php:1) in C:\Program Files\Apache Group\Apache2\htdocs\Peak\include\application\auth.inc.php on line 5