Re: cannot add 'header' information
| From: | Amit Arora | Date: | Mon, 21 Jun 2004 07:36:42 +0000 |
| Subject: | Re: cannot add 'header' information | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-24037@lists.php.net to get a copy of this message | ||
Also, make sure that there is not empty space or empty lines before the first <?php tag else the output will start automatically.
Regards,
Amit
http://www.digitalamit.com/
B.A.T. Svensson wrote:
Check your code again, anda again! Because somewhere you already starts to output something - hence the error messsage. Not /if/, but /when/ you are 115% sure you have no segment of code that been outputing some HTML, then your error message may be caused by (the failure of) shell execution of a command. Do you you php script call any external programs? -----Original Message----- From: susilo soewarno To: Svensson, B.A.T. (HKG) Sent: 18-6-2004 8:30 Subject: RE: [PHP-WIN] cannot add 'header' information All the hmtl output is viewed 100%, but on top header of the page still left this error. -----Original Message----- From: Svensson, B.A.T. (HKG) [mailto:B.A.T.Svensson@lumc.nl] Sent: 18 Juni 2004 13:21 To: 'php-windows@lists.php.net ' Subject: RE: [PHP-WIN] cannot add 'header' information Are you 103% sure you haven't start to output some HTML code yet? -----Original Message----- From: susilo soewarno To: php-windows@lists.php.net Sent: 18-6-2004 7:54 Subject: [PHP-WIN] cannot add 'header' information Can you help me, sometimes i got error message and it goes like this : "Cannot add header information - headers already sent by (output started at C:\phpnuke\html\mainfile.php:42) in C:\phpnuke\html\mainfile.php on line 171" For additional info, right now i'm using IIS not Apache Web Server Best Regards, Susilo