|
Posted by Monty on 11/16/05 04:35
The PHP version on my server is part of the standard Red Hat Linux ES
3.0 bundle, and is updated by RedHat, so, while the version may be
4.3.2, it has all the fixes and security updates already applied by
RedHat Up2date.
None of the things you mention as a possible cause for this are
relevant, actually, because the fix is to add an "exit;" after a
header. Once I do that, it works as it used to. If the cause was
something else, I presume adding an exit would make no difference, but
it does. As I mentioned previously, I have made no other changes to
this code or PHP before this issue arose, the database table is not
large at all, and even when using a full, non-relative domain in the
header() function, it made no difference at all.
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.
[Back to original message]
|