Posted by Wayne on 11/16/05 07:01
On 15 Nov 2005 18:35:06 -0800, "Monty" <monty3@hotmail.com> wrote:
>The only thing that did work was to add "exit;" after all
>header("Location:...") functions. I checked the online PHP manual, and
>there's no mention that this is necessary, so, I am totally baffled as
>to why this suddenly started happening.
The header("Location:...") function does not terminate your script.
So any processing after the header() will continue. Usually that's
not what you want -- you usually want to exit() at that point.
What does you script do after the header is sent? Chances are, it's
still doing something.
[Back to original message]
|