conused with Sessions again
Posted: Mon Feb 16, 2004 12:33 am
I removed the blank line in the inlcuded file
"Txt.inc.php"
the syntax is some what looks like this
<?
session_start();
if(!isset($_SESSION['SkinNow'])){
$_SESSION['SkinNow'] = 'Default';
}
after this i am inlcuding all the include files in which i have stored the fucntions
........................
?>
the script working i am able to change the skins for my site, even the sessions are also stored in /Sessions directory. But the below metioned waring is still indicated by the parser.
[Waring]: session_start(): <a href=session-function......</a>cannot sen the cookie info headers already sent on line 2 in index,php
I get two warning which is some similar to above mentioned type, I read the Latest PHP Manual in that it is mentioned that Sending
session.use_only_cookies is set to 0 in php.ini
is this warning coming because of this ????
I am using WinXp, PHP 4.3.4, and Apache 1.37
I test tested the script on php5- Beta 3 I get the Same warning
Please Help me by telling the reason why is that warning coming???
"Txt.inc.php"
the syntax is some what looks like this
<?
session_start();
if(!isset($_SESSION['SkinNow'])){
$_SESSION['SkinNow'] = 'Default';
}
after this i am inlcuding all the include files in which i have stored the fucntions
........................
?>
the script working i am able to change the skins for my site, even the sessions are also stored in /Sessions directory. But the below metioned waring is still indicated by the parser.
[Waring]: session_start(): <a href=session-function......</a>cannot sen the cookie info headers already sent on line 2 in index,php
I get two warning which is some similar to above mentioned type, I read the Latest PHP Manual in that it is mentioned that Sending
session.use_only_cookies is set to 0 in php.ini
is this warning coming because of this ????
I am using WinXp, PHP 4.3.4, and Apache 1.37
I test tested the script on php5- Beta 3 I get the Same warning
Please Help me by telling the reason why is that warning coming???