Now, in all the pages I have, i have included the following code segment,
where the passwords.php is
Question:
In those pages I already had two includes so I uncluded the code segment after that.
Like this:
When I did that, I got the following error message.
[quote]
"session_start(): Cannot send session cache limiter - headers already sent[/quote] (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 ?
Thanks for your time
Shiyam
[B]John | [COLOR="Red"]Please use [code], [php], and [quote] tags when appropriate.
Edited by John, 03 September 2008 - 07:38 PM.


Sign In
Create Account


Back to top









