Reply to Disable automatic headers

Your name:

Reply:


Posted by Christoph Burschka on 04/12/07 14:45

I am getting started with using PHP as a local scripting language, unrelated to
web pages (because basically I don't know a thing about Perl and it's far more
convenient to use than shell scripts).

So I learned that you can read the standard input by opening php://stdin. Now I
want to process this input and write it to the output. However, anytime I start
PHP from the command line, these lines are written:

X-Powered-By: PHP/4.4.4
Content-type: text/html

Since eventually the scripts are supposed to process each other's output with
pipelines, I would like only my data to be printed. Is there some way to switch
off these http headers?

--cb

[Back to original 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

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