PHP sends them automatically, at the first output you do.

But that's irrelevant. What I think you did, is you replacing something
created an output (could be some character or even a blank spaced or a
newline before <?) in file logs.php

just make sure that file starts from <? at the very top-left. (and of course
no echo's before you do session_start())


Sincerely,

 Maxim Maletsky
 Founder, Chief Developer

 PHPBeginner.com (Where PHP Begins)
 [EMAIL PROTECTED]
 www.phpbeginner.com




-----Original Message-----
From: Tom Malone [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 1:54 AM
To: PHP Users
Subject: [PHP] Confusion abounds here


I just renamed a directory on my webserver (apache) and then did a
search&replace in my text editor to update all my files then uploaded them.
Now I am getting the following error on a page I am using to display all the
rows in a database that contains session data:

Warning: Cannot send session cache limiter - headers already sent (output
started at /home/tgmalone/public_html/admin/logs.php:1) in
/home/tgmalone/public_html/admin/logs.php on line 1

but I'm not trying to send any headers! (or am I?)

Confused!
Tom Malone


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to