be*****@coaster.ch wrote:
I've sent all my PHP sites to the server and when calling it I receive
this message:
Warning: session_start(): Cannot send session cookie - headers already
sent by (output started at /home/coaster/public_html/index.php:7) in
/home/coaster/public_html/index.php on line 18
Help will be welcome!
It means your index.php sent some output to the browser on line 18. This could
be a blank line or anything else which sends info to the browser.
session_start() must be called before ANY output (including a DOCTYPE or
anything else) is sent.
What's on this line?
P.S. obstart() just hides the real problem. Rather, you should figure out what
the problem is and fix it.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================