Q:

Upload file to remote server (PHP)

I have a scenario where I have a page on one server which prompts a user to upload a file.  I need this file to be uploaded to a different server with a larger storage facility.  I then need to get the absolute path of where the file now resides on the server sent back to the originating page. 
The file size that will be around 15mb, so they aren't small files, and I'd like to avoid double uploading if possible (uploading to the server, then pushing over to remote server).
Any direction on this is appreciated.

A:

If the remote server is also running as a web server you could create the upload form and have the submit action go to the other server.  The disadvantage of this is that some browsers will treat this as a potential security hole and warn the user when the page is displayed, but you can get around this by creating a reverse proxy entry in your main web server that points to the file server.

