note 66436 added to function.session-start

From: Date: Mon, 22 May 2006 15:25:24 +0000
Subject: note 66436 added to function.session-start
Groups: php.notes 
Request: Send a blank email to php-notes+get-111830@lists.php.net to get a copy of this message
If you are getting the annoying error messages - Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/domain/public_html/index.php:1) in /home/domain/public_html/index.php on line 1 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/domain/public_html/index.php:1) in /home/domain/public_html/index.php on line 1 - and you've tried everything, this might solve your problem... If you are using notepad for your coding (or something similar) make sure you don't accidently save your file using ANSI encoding or something like that. Keep it at UTF-8! ANSI encoding will display everything perfectly (no weird characters) but will be processed incorrectly by the compiler. So you'll have perfect looking code which is not working for some unexplained reason... ---- Server IP: 212.108.64.74 Probable Submitter: 62.231.45.132 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.session-start.php Edit -- http://master.php.net/note/edit/66436 Del: integrated -- http://master.php.net/note/delete/66436/integrated Del: useless -- http://master.php.net/note/delete/66436/useless Del: bad code -- http://master.php.net/note/delete/66436/bad+code Del: spam -- http://master.php.net/note/delete/66436/spam Del: non-english -- http://master.php.net/note/delete/66436/non-english Del: in docs -- http://master.php.net/note/delete/66436/in+docs Del: other reasons-- http://master.php.net/note/delete/66436 Reject -- http://master.php.net/note/reject/66436 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#111830) next »