Re: [PHP] http_request



Thank you will do that

Ok can i redirect the response to the browser from the layer after my layer
has recieved the response from the application.




On Jan 5, 2008 10:05 PM, Daniel Brown <parasane@xxxxxxxxx> wrote:

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.




--
Thanks and Regards
Peeyush Gulati
+91-9916304135


Relevant Pages

  • Re: [PATCH] mmc_spi: use EILSEQ for possible transmission errors
    ... better idea if the status can be trusted or not than a higher layer. ... MMC request how the response should be interpreted. ... Have you noticed that I have posted a revised revision of the patch named ...   to a command from EINVAL to EFAULT/ENOSYS, ...
    (Linux-Kernel)
  • Re: Help with hardware vs. software on the fly crypt solution?
    ... are breach OTFE would provide another layer of defense. ... including the response that OTFE is fast enough for my ...
    (sci.crypt)
  • Re: [PHP] http_request
    ... Ok can i redirect the response to the browser from the layer after my layer ...
    (php.general)
  • Re: ASP page to open/download a file
    ... .Redirect actually sends an instruction to the browser in the header of the ... response, so you can tell a browser to redirect to a file that is local to ... > If it's on the client machine, you've no hope of using redirecting as it ...
    (microsoft.public.inetserver.asp.general)
  • Re: PHP redirect timeout
    ... When you send the redirect, the request goes to the browser. ... Maybe you could do it with javascript - I haven't tried. ... what could be done is to check for a good response at new URL ...
    (comp.lang.php)

Loading