p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

beginning_php thread: RE: Cannot send session / headers already sent


Message #1 by "Nikolai Devereaux" <yomama@u...> on Mon, 1 Apr 2002 11:43:02 -0800
The problem isn't your include file (unless you specifically output text in
that file) -- the problem most likely lies in having an extra blank line
outside of your <? ?> delimiters in your include file.  This will cause PHP
to send that blank line as HTML text, and so all the headers would've been
sent already.

Check your include file, make sure there's no leading or trailing newlines
or spaces between your delimiters.


Nik


  Return to Index