Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can a upload form upload files to another server?

Is it possible to have a HTML form on server A and have it upload content to server B?

Can this be achieved? I am trying to use an iframe with the form starting on the other server, but I need information passed to the form from server A. Would I have to use javascript?

Thank you for your help!

like image 556
tundoopani Avatar asked Sep 12 '11 05:09

tundoopani


1 Answers

As long as you're sending it via POST and your remote server is accepting that POST response, sure. No need for javascript, just set the form action to the remote server.

like image 159
AlienWebguy Avatar answered Sep 28 '22 06:09

AlienWebguy