note 110931 added to function.session-start
| From: | archdaylen at gmail dot com | Date: | Tue, 25 Dec 2012 10:25:08 +0000 |
| Subject: | note 110931 added to function.session-start | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-192673@lists.php.net to get a copy of this message | ||
( ! ) 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>"." "." "."[
<a href =\"logout.php\">Log out </a> ]</span>";
}
else
{
header("Location:naslovna.php");
}
?>
What should I DO?
----
Server IP: 69.147.83.199
Probable Submitter: 79.101.224.85
----
Manual Page -- http://php.net/manual/en/function.session-start.php
Edit -- https://master.php.net/note/edit/110931
Del: integrated -- https://master.php.net/note/delete/110931/integrated
Del: useless -- https://master.php.net/note/delete/110931/useless
Del: bad code -- https://master.php.net/note/delete/110931/bad+code
Del: spam -- https://master.php.net/note/delete/110931/spam
Del: non-english -- https://master.php.net/note/delete/110931/non-english
Del: in docs -- https://master.php.net/note/delete/110931/in+docs
Del: other reasons-- https://master.php.net/note/delete/110931
Reject -- https://master.php.net/note/reject/110931
Search -- https://master.php.net/manage/user-notes.php