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:[EMAIL PROTECTED]
Sent: 18 Juni 2004 13:21
To: '[EMAIL PROTECTED] '
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: [EMAIL PROTECTED]
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
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php