chiprivers Posted April 20, 2007 Share Posted April 20, 2007 Is there a function / script that I can use to grab an image file from a given location and resave it in a local directory? Link to comment https://forums.phpfreaks.com/topic/47874-image-grab/ Share on other sites More sharing options...
neel_basu Posted April 20, 2007 Share Posted April 20, 2007 file_put_contents('file_name.jpg', file_get_contents('http://host.com/image_file.png')); Link to comment https://forums.phpfreaks.com/topic/47874-image-grab/#findComment-234185 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.