I need to be able for one php user process on a server A to request data via http:// stream from another server B and the server B must be able to return several files via the stream.
The user process, then, must send one of the files to the external client and save the others locally on server A (to be requested by the client later). Basically, I am sending a svg file with accompanying image files.
I would like to do this via the single stream. I don't want to save anything to disc on server B and have the user requested it one by one.
What is the cleanest way of doing this? Thanks!