note 100513 added to function.session-start
| From: | blandersenatgmail dot com at osu1 dot php dot net | Date: | Wed, 20 Oct 2010 17:32:18 +0000 |
| Subject: | note 100513 added to function.session-start | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-173320@lists.php.net to get a copy of this message | ||
You probaly won't belive me, but I found a solution for the common problem:
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent
by (output started at
All I did was to delete the spaces i had in the beginning of the script, before the first
"<?php" call.
Now that's stupid :-)
----
Server IP: 69.147.83.197
Probable Submitter: 82.143.251.7
----
Manual Page -- http://www.php.net/manual/en/function.session-start.php
Edit -- https://master.php.net/note/edit/100513
Del: integrated -- https://master.php.net/note/delete/100513/integrated
Del: useless -- https://master.php.net/note/delete/100513/useless
Del: bad code -- https://master.php.net/note/delete/100513/bad+code
Del: spam -- https://master.php.net/note/delete/100513/spam
Del: non-english -- https://master.php.net/note/delete/100513/non-english
Del: in docs -- https://master.php.net/note/delete/100513/in+docs
Del: other reasons-- https://master.php.net/note/delete/100513
Reject -- https://master.php.net/note/reject/100513
Search -- https://master.php.net/manage/user-notes.php