note 103192 deleted from function.session-start by danbrown
| From: | danbrown@php.net | Date: | Wed, 30 Mar 2011 21:51:43 +0000 |
| Subject: | note 103192 deleted from function.session-start by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-178365@lists.php.net to get a copy of this message | ||
Note Submitter: tomdchi
----
->alakys
Something is being outputted to the browser before the session can start. It can even be something
you can't see. Something that has gotten me in the past is BOM's (byte order mark). Some
editors will insert these into your script and you can't see them. A crude but easy way to get
ride of a BOM is to copy/paste your code into notepad. Do save as and change save as type to All
and encoding to ANSI format. Name it with php extension. This will remove any BOM you have.