empty lines cause http headers?

From: Date: Mon, 18 Mar 2002 05:14:28 +0000
Subject: empty lines cause http headers?
Groups: php.general 
Request: Send a blank email to php-general+get-88887@lists.php.net to get a copy of this message
I'm writing a page that will do a little snooping into a db (based on a previous form submit) and start a session based on the results. The problem is that PHP seems to be sending the HTTP headers when it encounters the first blank line in the code (which I do use to help separate the code a bit). Am I right in this assumption .. and then the big Q.. how do I do PHP calculations and then specify a session without sending premature headers by accident? ~ Mike -- Mike Zornek | Project Leader Apple Student Developers The Insanely Great Site with the Insanely Long URL http://www.applestudentdevelopers.org Personal Site: http://www.mikezornek.com

« previous php.general (#88887) next »