RE: [PHP-WIN] Tons of notices and warnings...for what reason?
| From: | Peter | Date: | Tue, 02 Jul 2002 00:02:46 +0000 |
| Subject: | RE: [PHP-WIN] Tons of notices and warnings...for what reason? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-14516@lists.php.net to get a copy of this message | ||
<snip>
Warning: Cannot add header information - headers already sent by (output
started at c:\inetpub\wwwroot\global.php:23) in
c:\inetpub\wwwroot\global.php on line 319
</snip>
Mike,
When ever sending headers always make sure the php tags and header info are before anything else in
the page
eg
<?
header(blah);
?>
<html>
also make sure there are no blank lines before opening the php tags
then try your page... you may find that some of the other messages you are getting will dissapear
when the headers are set
Cheers
Peter