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

Posted by tg-php on 08/16/05 18:00

So their page POSTs to a PHP page that you've created? I'm not seeing where headers come into play there, they're on output, not input. Maybe I just stayed up too late last night, but I'm having trouble wrapping my brain around the problem.

One thing I did notice was you mentioned switches for CGI vs CLI SAPI. I expect that there wouldn't be a switch for CLI because no headers are needed when using PHP command line, therefore nothing to turn off. Again, maybe I'm misunderstanding the situation but thought I'd throw that thought in the ring.

Maybe you can describe the interaction between the system you can't control and your PHP scripts better. Walk us through it step by step.

-TG

= = = Original message = = =

I am coding a PHP page to deal with a badly implemented automated status
update script on a remote server (that I do not control) which fails if my
response to it's POST request has HTTP headers. Go figure. So the question
is "How do I NOT send HTTP headers in my response?" or "How can my script
suppress headers completely?" Whatever the solution, it should affect only
this page/script.

In chapter 43, the PHP Manual states: "Though the CGI SAPI provides a way to
suppress HTTP headers, there's no equivalent switch to enable them in the
CLI SAPI." How would one suppress HTTP headers, as noted above, in the CGI
SAPI for a particular page on my site?

Somebody, please help.
--TC.


___________________________________________________________
Sent by ePrompter, the premier email notification software.
Free download at http://www.ePrompter.com.

 

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

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