How to 'Bridge'/'Stream'/'Forward' an Incoming HTTP Connection (Advanced Proxy)

Posted by mykl on Stack Overflow See other posts from Stack Overflow or by mykl
Published on 2010-03-21T22:28:58Z Indexed on 2010/03/21 22:31 UTC
Read the original article Hit count: 131

Filed under:
|
|
|

Not sure if this is possible..basically a server forwards/bridges an incoming connection Client -> Server -> Destination

Now, rather than a normal proxy script on the server(or a simple redirect),

1) the Destination sees the incoming connection as from the CLIENT (not from the SERVER).. aka masking the server

2) the Server in the middle streams the data back to the client(without downloading it first, then passing it)

Anyone know how to do this or something like it in PHP ?

© Stack Overflow or respective owner

Related posts about proxy

Related posts about php