Not sure if this is possible..basically a server forwards/bridges an incomi开发者_StackOverflow中文版ng connection Client -> Server -> Destination
Now, rather than a normal proxy script on the server(or a simple redirect),
the Destination sees the incoming connection as from the CLIENT (not from the SERVER).. aka masking the server
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?
This is possible, but not recommended to be done in PHP. Look at the Sockets
section of the PHP manual. You would have to run this script as a CGI process instead of a webapp to use it to the full potential.
精彩评论