Please don’t believe those sources. There is absolutely no reason why output buffering needs to be used when redirecting.
If you want to play it safe and not really learn anything useful from making this thread then put ob_start() as high up your script as possible, and ob_end_flush() as far down as possible.