$url = 'http://fuelphp.com/addons/default/themes/fuel/img/twitter_bird.png'; $img = fopen(DOCROOT.'img/'.basename($url),'wb'); Request::forge($url,array( 'driver'=>'curl', 'set_options'=>array( CURLOPT_FILE=>$img, CURLOPT_HEADER=>0) ))->execute(); fclose($img);
It looks like you're new here. If you want to get involved, click one of these buttons!