Reply to Re: [PHP] How to suppress HTTP headers?

Your name:

Reply:


Posted by Chris Shiflett on 10/05/35 11:24

Hi Thomas,

> I'm trying to respond to a HTTP POST request without sending any HTTP
> headers with the response (that is, reply with *content only*).

This is really strange problem. :-)

I don't know the answer, but I am pretty confident that you're not going
to be able to eliminate headers through your PHP code. This is a
question that an Apache expert might have a solution to, although I'd be
surprised if you could force Apache to misbehave, which is exactly what
you're wanting.

I think your solution is going to wind up being to write your own "web
server" that does not correctly adhere to the protocol, because I doubt
you'll find existing software to do this.

There is a web server written in PHP (odd, I know), that you can
possibly hack to eliminate the HTTP header output. It's called Nanoweb:

http://nanoweb.si.kz/

Hope that helps. Let us know how it goes. :-)

Chris

--
Chris Shiflett
Brain Bulb, The PHP Consultancy
http://brainbulb.com/

[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

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