Re: Cannot add header information

From: Date: Mon, 29 Apr 2002 18:23:02 +0000
Subject: Re: Cannot add header information
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-95215@lists.php.net to get a copy of this message
On Monday, April 29, 2002, at 12:02 PM, Bo Pritchard wrote:
I know without the accompanying code there's no way to help me...But without having to get real specific what does the following message tell me is wrong? Thanks Warning: Cannot add header information - headers already sent by (output started at /home/omnidevi/omnidevices-www/s-cart/form.phtml:4) in /home/omnidevi/omnidevices-www/s-cart/shop-head.phtml on line 44
In shop-head.phtml on line 44 you're apparently trying to do something that sends an http header (like starting a session, setting a cookie, etc.), however, all http headers must be sent before any html is goes out and the error says html output already started in form.phtml on line 4. Note this is about http headers which are different than the html <head> stuff. -Steve

« previous php.general (#95215) next »