I know a fix for this, set output_buffering = off in php.ini, but i've read that,

that header() must be before any output
so is there any bad effect from setting, output_buffering = off ?