You don't have to keep pasting the header function in your replies, we know what you're trying to say.
Like K0nr4d said, it's gotta be before any output has been sent to the browser. If your page is just html, then put it above your <!DOCTYPE>
__________________
|