Re: http_request

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

 



On Jan 5, 2008 11:14 AM, peeyush gulati <peeyushgulati@xxxxxxxxx> 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.

-- 
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