You are here: Re: headers sent issue « PHP Programming Language « IT news, forums, messages
Re: headers sent issue

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация