How to save a file on another server in PHP?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
4 views
Good afternoon.

The task of the next:
There is a server on which the site is hosted. Through the form upload files to the user for the file and send it to ANOTHER server and get a response from the remote server on successful download of the file.

I suspect that you need to dig in the direction of the cURL, but still decided to ask the experts.
by | 4 views

4 Answers

0 like 0 dislike
I suspect that you need to dig in the direction of the cURL, but still decided to ask the experts.
You can cURL, you can ready library to take.
by
0 like 0 dislike
If the file on the server on which the site is hosted, the correct versions of the following:
Immediately send the form to another server.
If you do not want to Shine for the address of another server, then look in the direction of the proxy.
by
0 like 0 dislike
as
\rphp.net/manual/ru/function.exec.php
Who can do
\rhttps://www.shellhacks.com/ru/ssh-execute-remote-c...
How to run PHP removed
php -q test.php
well, if you need to load the core engine
wget -O - -q-t 1 http://site.ru/test.php

Separate option:
Corny padkontrol folder and do it via wget, in General, options are so many that need to understand exactly what you're doing.
I predlazhil you not standard, you predlozhet not a php programmer and admin.
But there are options.
by
0 like 0 dislike
by

Related questions

0 like 0 dislike
1 answer
asked May 20, 2019 by massef
0 like 0 dislike
1 answer
asked Apr 25, 2019 by ItsEvilTime
0 like 0 dislike
2 answers
110,608 questions
257,186 answers
0 comments
28,082 users