You "can" make a call to header() at the end of the page as long as
there's been no output to the broswer. If you're using include() or
require(), make sure there's no newlines or extra spaces in the update
script or else the call to header() will fail.