note 66436 deleted from function.session-start by bjori

From: Date: Tue, 23 May 2006 13:52:16 +0000
Subject: note 66436 deleted from function.session-start by bjori
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-111881@lists.php.net to get a copy of this message
Note Submitter: steve at steveryan dot org Reason: in docs ---- 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...

« previous php.notes (#111881) next »