billkirim
-
Posts
5 -
Joined
-
Last visited
Never
Posts posted by billkirim
-
-
haha.. i was writing the same question right now
-
sorry for my spelling mistakes
-
i will disagree with you But if you want an alternative solution use
ob_start();
after the session start();
and
ob_end_flush();
at the last line of your code..
it does has the same results..
-
write this line on your .htaccess file
PHP_FLAG output_buffering on
cannot send session cookie
in PHP Coding Help
Posted
i disagree that it masks the error.. i agree that is incorrent to try and ouput something before sending headers.
with output buffering on Flag, the output is collected and then flushed to the output stream.
As thrope said "It is logically incorrect to try and output something before sending headers."
i read that the site has been hacked and changed only permissions so i thought that the source has not been affected.
Anyway i post some thoughts just to help..
Thanks