Re: How to suppress HTTP headers?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux