Copy file from remote server using php

How to Import files from external server using PHP

This is a very fast way to import/upload some file to your site using php without need to download it to your computer and then upload it to your server  .

This Work with direct links Files .

$file = file_get_contents("");
$save = file_put_contents('',$file);