You are here: Re: [PHP] How to suppress HTTP headers? « PHP « IT news, forums, messages
Re: [PHP] How to suppress HTTP headers?

Posted by comex on 10/19/54 11:24

> 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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация