By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,109 Members | 969 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,109 IT Pros & Developers. It's quick & easy.

Suppressing HTTP Headers

P: n/a
I need to take complete control of the HTTP responses, and I don't
want PHP to intervene and send its ones in front of mine etc.

Is there any way of telling PHP NOT to send any headers and instead
give me complete responsibility for generating the correct response?

---
Rob Tweed
M/Gateway Developments Ltd

Global DOMination with eXtc : http://www.mgateway.tzo.com
---
Jul 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
With total disregard for any kind of safety measures Rob Tweed
<rt****@blueyonder.co.uk> leapt forth and uttered:
I need to take complete control of the HTTP responses, and I
don't want PHP to intervene and send its ones in front of mine
etc.

Is there any way of telling PHP NOT to send any headers and
instead give me complete responsibility for generating the
correct response?


Only in CGI/Shell mode.

php.exe -q file.php

--
There is no signature.....
Jul 17 '05 #2

P: n/a
OK I guess I'll just have to re-engineer the logic and move half of it
from the back end into PHP which is a time-consuming pain <sigh>

Thanks for at least confirming that I hadn't missed some trick

On Tue, 09 Dec 2003 13:02:46 -0600, Phil Roberts
<ph*****@HOLYflatnetSHIT.net> wrote:
With total disregard for any kind of safety measures Rob Tweed
<rt****@blueyonder.co.uk> leapt forth and uttered:
I need to take complete control of the HTTP responses, and I
don't want PHP to intervene and send its ones in front of mine
etc.

Is there any way of telling PHP NOT to send any headers and
instead give me complete responsibility for generating the
correct response?


Only in CGI/Shell mode.

php.exe -q file.php


---
Rob Tweed
M/Gateway Developments Ltd

Global DOMination with eXtc : http://www.mgateway.tzo.com
---
Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.