help me out to understand headers already sent

diva's Avatar, Join Date: May 2010
Newbie Member
Am new to php, when i tried with login code i got this warning, pls help me to understand the reason for its occurence....


"
The Warning says: Cannot send session cache limiter - headers already sent "
0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
You are trying to output something where as you have headers already setup to do something else.
0
qre3dogawanainggolan's Avatar, Join Date: Oct 2010
Newbie Member
You are needed to be sure that you put header exactly after <?php in your code there are no any else including empty space after ?> ..
If you're already sure, the problem must be in your editor, some editors have bugs whereas they conceal header containing array sent before the first <?php in your code.. Copy your code in simpler editor such as notepad, or ultra edit and save it with different name , then replace the link name in another your php page pointed to the code by using new name.. It must be success ..