Setcookie()

From: Date: Sat, 11 Oct 2008 15:45:35 +0000
Subject: Setcookie()
Groups: php.general 
Request: Send a blank email to php-general+get-281712@lists.php.net to get a copy of this message
Hi, I'm using cookies for my website script and upon users logging in a cookie is set. Problem for me is that the cookie doesn't work due to headers already sent. Is there anyway of fixing this because, there is no possible way of adding setcookie() to the top of the PHP file when the cookie is holding the username from the POSTed form. Any help appreciated.

« previous php.general (#281712) next »