you can't use a header like that because the PHP binary is running the script, not a browser.