note 44982 deleted from function.session-start by tomsommer

From: Date: Sat, 28 Aug 2004 22:58:46 +0000
Subject: note 44982 deleted from function.session-start by tomsommer
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-75512@lists.php.net to get a copy of this message
Note Submitter: steiffzatz at hotmail dot com ---- I just wanted to report something that made me mad and that I didn't find on any forum ... and I don't know if this is a bug or something normal ... I wrote a script using session-start and I received a "session_start(): Cannot send session cookie - headers already sent" error ... There was no space before the session_start and no output came from my script ... after spending many hours it came out that it was just the way the file was encoded : my script used UTF-8 encoding instead of ANSI and this was the problem ... So be sure to check your file's encoding ... be sure to encode your scripts in ANSI ...

« previous php.notes (#75512) next »