Move a file from localhost to a remote server using PHP only (no HTML)
I have an interesting problem where I have image URLs like `http://localhost/imgs/img1.jpg` that I need to be able to send to a remote server. I need it to happen all in the background without any user input basically. How would I write the PHP to send the image to the remote server, and the PHP to accept and write it on the remote server side,
Move a file from localhost to a remote server using PHP only (no HTML)
===

I have an interesting problem where I have image URLs like `http://localhost/imgs/img1.jpg` that I need to be able to send to a remote server. I need it to happen all in the background without any user input basically. How would I write the PHP to send the image to the remote server, and the PHP to accept and write it on the remote server side,