note 102436 added to function.setcookie

[email protected] Mon, 14 Feb 2011 05:05:49 -0800
Newsgroups php.notes
Message-ID <[email protected]>
I've been pulling my hair for a couple of minutes (read: hours) and finally figured out why setcookie in my case, returned the "headers already sent"-error:

The file in question was orignally saved as ANSI in Notepad and worked flawlessly, but when saved with UTF-8-encoding, it didn't work. So after trying phpDesigner 7, I was able to both save the file in UTF-8 AND remove the BOM (byte-order-mark which is output BEFORE the cookie is set and thereby fails everything).
----
Server IP: 69.147.83.197
Probable Submitter: 188.180.135.140
----
Manual Page -- http://www.php.net/manual/en/function.setcookie.php
Edit        -- https://master.php.net/note/edit/102436
Del: integrated  -- https://master.php.net/note/delete/102436/integrated
Del: useless     -- https://master.php.net/note/delete/102436/useless
Del: bad code    -- https://master.php.net/note/delete/102436/bad+code
Del: spam        -- https://master.php.net/note/delete/102436/spam
Del: non-english -- https://master.php.net/note/delete/102436/non-english
Del: in docs     -- https://master.php.net/note/delete/102436/in+docs
Del: other reasons-- https://master.php.net/note/delete/102436
Reject      -- https://master.php.net/note/reject/102436
Search      -- https://master.php.net/manage/user-notes.php