Warning: file_put_contents(http://test20.ru/upload/files/) [function.file-put-contents]: failed to open stream: HTTP wrapper does not support writeable connections in
Код такой:
$url = href_to_home().''.$arr['u1_photo']; $move_dir = href_to_home().'/upload/files/';
Warning: curl_setopt(): supplied argument is not a valid File-Handle resource in Z:\home\test20.ru\www\system\libs\files.helper.php on line 223
Код:
$url = href_to_home().''.$arr['u1_photo']; $move_dir = href_to_home().'/upload/files/'; $res = file_save_from_url($url, $move_dir);