Folks
I have an image at some server (SOURCE) i.e. http://stagging-school-images.s3.amazonaws.com/2274928daf974332ed4e69fddc7a342e.jpg
Now I want to upload it to somewhere else (DESTINATION) i.e. example.mysite.com/receiveImage.php
First, I am copying image from source to my local server and then uploading it to destination. It's perfectly working but taking too much time as it copy the image and then uploads... I want to make it more simple and optimized by directly uploading image from source URL to destination URL.
Is there a way to handle this ?
I am using php/cURL to handle my current functionality.
Any help would be very much appreciated.
Cheers !!