Re: How to set the http_response_header from a custom HTTP wrapper

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

 



$http_response_header is set with the response headers from the other end,
how/why would you populate them?  If your script is send a request or
reponse then you issue headers with the header() function or with
parameters to the function or class that you are using etc.  How are you
issuing requests/responses?

-Shawn

On Wed, Nov 26, 2014 at 8:00 AM, Khalifah Shabazz <shabazzk@xxxxxxxxx>
wrote:

> I wrote a custom HTTP wrapper, but I've hit a snag. I do not know how
> to populate the $http_response_header variable. So my questions are:
>
> 1. Is it even possible to set $http_response_header from a custom PHP
> Stream wrapper?
> 2. Is there documentation on how to set it?
> 3. If there is no official way to set it, then is there a work-a-round
> way to set $http_response_header?
>
> PHP doc on $http_response_header variable:
> http://php.net/manual/en/reserved.variables.httpresponseheader.php
>
> --
> Khalifah (Ca - lee - fah) Shabazz
>
> --
> 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