|
Posted by Jerry Stuckle on 12/17/46 11:53
walterbyrd wrote:
> Geoff Berrow wrote:
>
>
>>Think what echo does. It starts output. You can't have output without
>>headers, so the headers get sent.
>
>
> But what if I need to output something? Do I have to drop back to html?
> What does it mean for headers to be sent?
>
>
>>Cookie information is sent with the
>>headers so if the headers are already sent you have missed the boat.
>
>
> But my cookies seems to work.
>
>
>>--
>>Geoff Berrow (put thecat out to email)
>>It's only Usenet, no one dies.
>>My opinions, not the committee's, mine.
>>Simple RFDs http://www.ckdog.co.uk/rfdmaker/
>
>
Dropping back to HTML won't help, either. *ANY* output will send the
headers. It's not a PHP restriction - that's how HTTP works.
But why would you want to send data - then immediately redirect the
client to another page anyway? They'd never see the data you output.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|