also, i think what you need is either javascript or html, as you want to output first that you will redirect the user.
the header function will send the user directly to the other page, without showing the rest of the page.
It is also best to place
after calling the header function, to make sure nothing is being executed after the header, and no errors will ocure.
if you want to show something to the user, before redirecting him, try this:
this will redirect the user after 3 seconds
Greetz,
UnrealEd