140Re: session_start error
- Aug 28, 2006That's right. You can move the line to after you've started the
session. That will fix your problem :)
--- In firstname.lastname@example.org, pritesh loke <priteshloke@...> wrote:
> Hello Sir
> I have this line before <? session_start(); ?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> so is they may be coused error.
> Thank you.
> Vinu Thomas <vinuthomas@...> wrote:
It looks like you've sent some output to the browser
> error occurs when PHP detects that some output has already gone to the
> browser and it can't set the HTTP headers. If you're sending any
> output to tbe browser, call the session_start() before that.
> Another cause of this error is if you have any line breaks or spaces
> before your <?php tags.
- << Previous post in topic Next post in topic >>