How to suppress HTTP headers?

From: Date: Tue, 16 Aug 2005 14:45:33 +0000
Subject: How to suppress HTTP headers?
Groups: php.general 
Request: Send a blank email to php-general+get-220695@lists.php.net to get a copy of this message
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 suppress headers completely?" Whatever the solution, it should affect only this page/script. In chapter 43, the PHP Manual states: "Though the CGI SAPI provides a way to suppress HTTP headers, there's no equivalent switch to enable them in the CLI SAPI." How would one suppress HTTP headers, as noted above, in the CGI SAPI for a particular page on my site? Somebody, please help. --TC.

« previous php.general (#220695) next »