Re: How to suppress HTTP headers?
| From: | comex | Date: | Thu, 18 Aug 2005 16:50:54 +0000 |
| Subject: | Re: How to suppress HTTP headers? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-220878@lists.php.net to get a copy of this message | ||
> 2) While the 'q' switch ("php -q") is necessary and sufficient to suppress
> HTTP header generation using the CLI ('command line interface'), it is not
> clear to me how to apply this switch in a CGI configuration. Any ideas?
I believe that switch works on CGI, and that in CLI headers are
surpressed by default.
$ php-cgi
test
Content-type: text/html
X-Powered-By: PHP/4.3.10-15
test
$ php
test
test