php-windows Digest 8 May 2005 02:40:39 -0000 Issue 2661
Topics (messages 25978 through 25979):
Re: cannot send session
25978 by: S.F. Alim
25979 by: Wu, Jin Yong
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
Hi list,
Im using the following:
Win2k SP4
Apache 1.3.3
PHP 4.3.5
my index.php file has only one line and that is
<?php session_start() ?>
Problem im facing is following:
*****************
Warning: session_start(): Cannot send session cookie - headers already sent by
(output started at d:\website\address_book\index.php:1) in
d:\website\address_book\index.php on line 1
Warning: session_start(): Cannot send session cache limiter - headers already
sent (output started at d:\website\address_book\index.php:1) in
d:\website\address_book\index.php on line 1
*****************
I google a lot and I did found some solution but they didnât work for me.
I need help asap
Thanx in advance
salim
--- End Message ---
--- Begin Message ---
This warning means that there are some output contents before calling
session_start().
Make sure there is no any empty line or any other unvisible character.
if neccessay you can open the file by binary format and check it.
Yong from China 2005/5/8
-----Original Message-----
From: S.F. Alim [mailto:[EMAIL PROTECTED]
Sent: Saturday, May 07, 2005 23:08 PM
To: [email protected]
Subject: [PHP-WIN] session_start(): cannot send session
Hi list,
Im using the following:
Win2k SP4
Apache 1.3.3
PHP 4.3.5
my index.php file has only one line and that is
<?php session_start() ?>
Problem im facing is following:
*****************
Warning: session_start(): Cannot send session cookie - headers already
sent by (output started at d:\website\address_book\index.php:1) in
d:\website\address_book\index.php on line 1
Warning: session_start(): Cannot send session cache limiter - headers
already sent (output started at d:\website\address_book\index.php:1) in
d:\website\address_book\index.php on line 1
*****************
I google a lot and I did found some solution but they didnât work for
me.
I need help asap
Thanx in advance
salim
--- End Message ---