Re: http_request
| From: | Daniel Brown | Date: | Sat, 05 Jan 2008 16:35:01 +0000 |
| Subject: | Re: http_request | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-266787@lists.php.net to get a copy of this message | ||
On Jan 5, 2008 11:14 AM, peeyush gulati <peeyushgulati@gmail.com> wrote:
> Thank you for the reply
>
> But i am not asking for simple rediredtion. I am aware of the
> (header:"Location:url");
>
> From a layer i am sending a http_request to an existing application, now the
> application will response back to the layer.
>
> My concern is how do i make the application response back to the browser
> instead of the layer without changing the code of the application although
> the request was sent from layer.
>
> This is what i am looking for. Is there some PECL package.
Please keep your replies on-list for others to benefit.
What you're asking to do is send a third-party response to the
browser which never instantiates the call to the remote script in the
first place. To my knowledge, it's not possible, which is a good
thing. Otherwise anyone would be able to inject arbitrary responses
(like a man-in-the-middle attack).
--
Daniel P. Brown
[Phone Numbers Go Here!]
[They're Hidden From View!]
If at first you don't succeed, stick to what you know best so that you
can make enough money to pay someone else to do it for you.