quote:
Originally posted by Supersonicdarky
blah....
<center>
<?php
include ( '../shoutbox/shoutbox.php' );
?>
</center>
blah..
thats your problem, because your including the php script in the middle of the page, when it try to set the headers on the first line of the script it cant because the html before it has already been sent.
delete this line from shoutbox.php
code:
header ( 'Content-Type: text/html; charset=utf-8' );
and put it at the top of the html file, like this
code:
<?php header ( 'Content-Type: text/html; charset=utf-8' ); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/transitional.dtd">