headers already sent

From: Date: Thu, 12 Sep 2002 11:37:41 +0000
Subject: headers already sent
Groups: php.general 
Request: Send a blank email to php-general+get-116132@lists.php.net to get a copy of this message
I'm doing a little form: In the first page i have the form to insert datas,then redirect the control to a script that check if the filds are correct.If they are correct redirect the output to a prospect else to the first page.The problem is that it gives an error like this "Warning: Cannot send session cache limiter - headers already sent " but I wrote "session_start()" in the highest part of all the scripts. I redirect the output with "header("Location: http://..") is it correct or there is an other way ? If i don't write "session_start()" in the html's page the variables dont appear in the fields(if i insert before,naturally). Someone help me please? Tanks Gian Michele

« previous php.general (#116132) next »