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);

(Visited 12 times, 1 visits today)

Leave A Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.