Suppressing HTTP Headers

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Rob Tweed

    Suppressing HTTP Headers

    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
    ---
  • Phil Roberts

    #2
    Re: Suppressing HTTP Headers

    With total disregard for any kind of safety measures Rob Tweed
    <rtweed@blueyon der.co.uk> leapt forth and uttered:
    [color=blue]
    > 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?[/color]

    Only in CGI/Shell mode.

    php.exe -q file.php

    --
    There is no signature.....

    Comment

    • Rob Tweed

      #3
      Re: Suppressing HTTP Headers

      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
      <philrob@HOLYfl atnetSHIT.net> wrote:
      [color=blue]
      >With total disregard for any kind of safety measures Rob Tweed
      ><rtweed@blueyo nder.co.uk> leapt forth and uttered:
      >[color=green]
      >> 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?[/color]
      >
      >Only in CGI/Shell mode.
      >
      >php.exe -q file.php[/color]

      ---
      Rob Tweed
      M/Gateway Developments Ltd

      Global DOMination with eXtc : http://www.mgateway.tzo.com
      ---

      Comment

      Working...