|
Posted by Wayne on 11/16/05 20:06
On Wed, 16 Nov 2005 10:02:04 +0000, Peter Fox
<peterfox@eminent.demon.co.uk.not.this.bit.no.html> wrote:
>Following on from Monty's message. . .
>>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.
>>
>Just out of curiosity. What happens if you replace exit; with
>print("after header"); ? (I can't say I've ever had this prob 'cos I
>always used exit anyway.)
You shouldn't see anything. You'll end up transmitting "after header"
to the browser but it'll see the location header and redirect anyway.
Navigation:
[Reply to this message]
|