/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$image = drupal_http_request($link); $save_to = file_directory_path().'/_images/'.$filename; $temp = '/opt/httpd/htdocs/devphp.caribbeantravelmag.com/files/blog/'.$filename;
URL: http://stackoverflow.com/questions/724391/save-image-from-php-url-using-php