my code is :
i checked permissions(777 ).When i try $file= in my hosting its working.
Code:
<?php
$file = "http://img2.hdfilmsitesi.com.tr/wp-content/uploads/2015/01/Oz-Efsanesi.jpg";
$folder = "../thumbnails/asd.jpg";
copy($file,$folder) or die("failed to copy ... ");
?>
Comment