note 110931 rejected from function.session-start by googleguy

From: Date: Tue, 25 Dec 2012 14:48:02 +0000
Subject: note 110931 rejected from function.session-start by googleguy
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-192674@lists.php.net to get a copy of this message
Note Submitter: archdaylen at gmail dot com ---- ( ! ) Notice: A session had already been started - ignoring session_start() in C:\wamp\www\Stefan Jovanic 29907 drugi domaci\5 Domaci ZRS Stefan Jovanic 29907\pozdrav.php on line 2 Call Stack # Time Memory Function Location 1 0.0014 406000 {main}( ) ..\ulogovan.php:0 2 0.0026 410600 include( 'C:\wamp\www\Stefan Jovanic 29907 drugi domaci\5 Domaci ZRS Stefan Jovanic 29907\pozdrav.php' ) ..\ulogovan.php:34 3 0.0026 410632 session_start ( ) ..\pozdrav.php:2 <?php session_start(); if(isset($_COOKIE['korime'])&& isset($_SESSION['auth'])) { echo "<strong>".$_COOKIE['korime']."</strong>"."&nbsp;"."&nbsp;"."[ <a href =\"logout.php\">Log out </a> ]</span>"; } else { header("Location:naslovna.php"); } ?> What should I DO?

« previous php.notes (#192674) next »