note 61033 deleted from ref.session by betz

From: Date: Tue, 07 Feb 2006 21:22:31 +0000
Subject: note 61033 deleted from ref.session by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-103232@lists.php.net to get a copy of this message
Note Submitter: ryanlwalker at gmail dot com ---- In the simple example below, adding any text or whitespace at the beginning of the .php file before < ?php and calling session_start(); generates 2 warnings in IE. Making < ?php the first line in the file solves the problem. <?php session_start(); $_SESSION['cnt']= 1 + $_SESSION['cnt']; echo $_SESSION['cnt']; ?> Hope somebody benefits from by hour(s) of frustration.

« previous php.notes (#103232) next »