|
Posted by Justin Koivisto on 12/27/05 21:45
NurAzije wrote:
> I have this code:
> <?php session_start();
[snip code]
> The error is:
> Warning: session_start(): Cannot send session cache limiter - headers
> already sent (output started at
> /home/imtecba/public_html/sedin/add.php:1) in
> /home/imtecba/public_html/sedin/add.php on line 1
>
> Please help me,
25 minutes after you posted it (the first time) in comp.lang.php you got
an answer...
If add.php is the file you posted the code to, make sure that there
isn't a space, empty line or *any* other output before your opening php tag.
If add.php includes the file you posted the code for, then make sure
there is no output to the browser before the include or require
statement in the calling file.
That, or you can modify your setup to use output buffering:
http://us3.php.net/manual/en/ref.outcontrol.php
--
Justin Koivisto, ZCE - justin@koivi.com
http://koivi.com
Navigation:
[Reply to this message]
|