PHP Classes

File upload

Recommend this page to a friend!

      Top level forums  >  PHP Specialists  >  General  >  File upload  
Subject:File upload
Summary:Upload a file from browser to third party server
Messages:2
Author:Petar Benke
Date:2011-05-26 10:22:34
Update:2011-06-03 13:29:40
 

  1. File upload   Reply   Report abuse  
Picture of Petar Benke Petar Benke - 2011-05-26 17:29:23
Sorry for my English, I'll try to be clear.

I have local cli PHP script that reads some files from local disk and posts them on server1 using curl. It works okay.

Now I am interesting, is there any way to make web script that will reside on server2, read files from local disk (using web browser and form) and post them on server1. Basically, I would like to avoid upload from local disk to server2 and then post from server2 to server1. I would like to make connection from local disk to server1 controlled by script on server2. FTP is not an option.

Thanks in advance.

There is 1 reply in this thread, which is not being displayed.
Browsing this forum thread replies is available only to premium subscribers.


Go to the premium subscriptions page to learn how to become a premium subscriber and have full access to this forum.