|
Posted by ECRIA Public Mail Buffer on 12/02/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
Navigation:
[Reply to this message]
|