I was wondering if there was any way in PHP to pass an external download off to a user? What I would like to do with the script is depending on certain conditions, send the user a file from server A or server B. However, I don't want the user to know the direct url to either server.
Ex: User visits (which is on server C): http://example.com/download?id=1234 Server A's Address to file: http://servera.com/1234.exe Server B's Address to file: http://serverb.com/1234.exe
Is there a way, that when someone visits http://example.com/download?id=1234, to send them the download of the other servers without giving the user the direct URL? I know I can do a file([external file here]). But I do not want all the bandwidth going through server C. Server C is pretty much just a redirect.
Thanks, James