note 9373 added to headers_sent

From: Date: Mon, 30 Oct 2000 10:36:13 +0000
Subject: note 9373 added to headers_sent
Groups: php.notes 
Request: Send a blank email to php-notes+get-7181@lists.php.net to get a copy of this message
You can not have any text print echo or display any text at all before you set a cookie. Try moving the setcookie function near the top of the code, before anything gets printed the screeen. http://www.php.net/manual/function.headers-sent.php

« previous php.notes (#7181) next »