Reply to Re: Want headers sent NOW. How to make PHP send them?

Your name:

Reply:


Posted by ECRIA Public Mail Buffer on 11/30/47 11:28

> exec /replaces/ PHP with the filter, so if PHP hasn't written the headers
> by then, it never will.
A fallacious assertion. Once your command is run, your PHP script proceeds
with execution. It does not die as a result of the call to exec().

Even if your program produces no specific output string, headers will be
sent. All you can do is control *when* the headers get sent, by printing (or
echoing) a string. If you don't do this, the headers are sent after the last
line of your script.

ECRIA
http://www.ecria.com

[Back to original 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

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