RE: [PHP-WIN] header - error all headers have been sent.

From: Date: Wed, 11 Oct 2000 15:30:23 +0000
Subject: RE: [PHP-WIN] header - error all headers have been sent.
Groups: php.windows 
Request: Send a blank email to php-windows+get-3160@lists.php.net to get a copy of this message
Warwick, Check to make sure that you don't output any HTML before your header command. This includes any spaces that may be echoed or what not. The header must be the first thing to occur. -Flint -----Original Message----- From: Warwick Chapman (Budgee) [mailto:Budgee@ghs.kzn.school.za] Sent: Wednesday, October 11, 2000 8:22 AM To: php-windows@lists.php.net Subject: [PHP-WIN] header - error all headers have been sent. Hi all When I attemped to use the header function, php returned an error saying that all the headers had already been sent. The redirect must only occur after the form has been submitted. Should I use another function? Thanks Warwick Chapman (1999) Assistant IT Manager Glenwood High School, Durban, South Africa 031 2055241 083 7797094 www.glenwoodhighschool.co.za -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net For additional commands, e-mail: php-windows-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.windows (#3160) next »