0

i have a url when i hit on that url header('Location: '. $c_url); a file download on my local system. but my requirment is to download that file on my server's directory. is there any possibility???

Mudi
  • 9
  • 6
  • Take a look at https://stackoverflow.com/questions/724391/saving-image-from-php-url – Richard Aug 04 '17 at 15:31
  • excusme sir i don't want to change name of my file kindly understand my question. i want to download that image from other url and save it to my own url not on my local system – Mudi Aug 04 '17 at 15:33
  • The "local system" mean in this case, your machine where you run this PHP code. – Richard Aug 04 '17 at 17:14
  • @Richard Yes sir exactly – Mudi Aug 06 '17 at 14:29

0 Answers0