As far as I know, http headers should not work after content has been
written. This is how my production box is working, but for some reason
on my dev box I was getting away with a location header after content
(some debug notes) was written.
Just to be sure, I threw a die() in right before the header('Locatio n:
'...) call, and sure enough there was the same stuff on screen that
the live box is choking on.
So does anyone have any ideas on what I might have set that allowed me
to get away with this? It's not a capability I enjoy. Environment is
Apache 2 on Redhat AS3.
Many thanks
written. This is how my production box is working, but for some reason
on my dev box I was getting away with a location header after content
(some debug notes) was written.
Just to be sure, I threw a die() in right before the header('Locatio n:
'...) call, and sure enough there was the same stuff on screen that
the live box is choking on.
So does anyone have any ideas on what I might have set that allowed me
to get away with this? It's not a capability I enjoy. Environment is
Apache 2 on Redhat AS3.
Many thanks
Comment