La differenza è che io includo del codice html che va inserito nel body. Essendoci quindi i tag html ho un output precedente a header location.