Quote:
Originally Posted by shiyam198
When I did that, I got the following error message.
(output started at top.htm............"
I took the code segment out from all the pages and put on top of top.php, it works fine.
Why does that session_start() should be on top the file. Or is it some other problem caused this error ?
|
The cache limiter warning is issued when content is outputted prior to the session_start() directive being called. That said, it must be placed at the top of the page (or before you output any content). I'm not sure the reasoning behind it - I just accepted it.