RE: [PHP] How to suppress HTTP headers?

2005-08-18 Thread Thomas Capote
Just to catch up: I'm trying to respond to a HTTP POST request without sending any HTTP headers with the response (that is, reply with *content only*). 1) The CGI SAPI will always send some basic headers with any script output; these include the status line ('HTTP/1.1 200 OK'), 'Content-type:', '

RE: [PHP] How to suppress HTTP headers?

2005-08-16 Thread Thomas Capote
I knew my description was a bit mangled; I was trying to keep it short. Sorry. Take two: A "remote server" is sending event records to "my server" using HTTP POST requests to http://my.server.com/storeit.php, let's say. The remote server expects acknowledgement by way of a response to its request.

[PHP] How to suppress HTTP headers?

2005-08-16 Thread Thomas Capote
I am coding a PHP page to deal with a badly implemented automated status update script on a remote server (that I do not control) which fails if my response to it's POST request has HTTP headers. Go figure. So the question is "How do I NOT send HTTP headers in my response?" or "How can my script su