Egad - I changed servers and am getting a line exactly similar to yours:
Warning: Cannot modify header information - headers already sent by (output started at /home/squareamp/public_html/index.php:6) in /home/squareamp/public_html/forum/admin/functions.php on line 1690
I have the output going to /home/squareamp/public_html/forum/PluhNews.php and when I load that by itself its just fine - it is only the file that has the include line in it that is producing that output.
-joshua
Quote:
06-17-03 at 05:50 PM HarryButt said this in Post #496
Any help would be cool.
I have this line in the body of a page: (content of the news to show up in a table)
The news shows up ok in the page but I get an error.
Error:
Warning: Cannot modify header information - headers already sent by (output started at c:\www\test\cs\index.php:5) in c:\www\test\forums\admin\functions.php on line 1649
Root of site /www/test
$siteroot/cs/Index.php: (page has its own <head> </head>)
<div align="left">
<?php include("/www/test/cs/news.php"); ?>
</div>
$siteroot/cs/News.php:
<?php
chdir("/www/test/forums");
include("/www/test/forums/PluhNews.php");
?>
only thing in the PluhHeader.txt :
<!-- Pluh Header -->
<font face="Verdana" size="2"><b>Today's News</b><p>
|