Loading ...
Sorry, an error occurred while loading the content.

140Re: session_start error

Expand Messages
  • Vinu Thomas
    Aug 28, 2006
      That's right. You can move the line to after you've started the
      session. That will fix your problem :)


      --- In bang-phpug@yahoogroups.com, 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
      already. This
      > 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.
      > Regards,
      > Vinu
    • Show all 5 messages in this topic