Posted by Rik on 08/11/06 22:47
Platero wrote:
> I tried (in the else block) the headers_sent function too:
>
> if (headers_sent()) {
> $my_echo = "sent";
> echo $mioeco;
> }
>
> and it seems headers are sent, but maybe before I try to redirect.
> Is there a way to "clean" the headers already sent??
No, once the headers are sent you're stuck with it. Remember: even a space
before <?php will result in headers being sent.
Headers must be sent before any output, whatever it is, wether it's
generated from php or fram a static file.
Grtz,
--
Rik Wasmus
[Back to original message]
|