Hi lemon2x,
You could do it with a file_put_contents function
Something like:
<?php
//name of file to save to
$filename = "text.jpg";
//url of image
$url = "http://www.affiliates4u.com/system/media/logo_beta.jpg";
//download and write contents of url
file_put_contents($filename, file_get_contents($url));
?>
Hope that helps.
Thanks
Simon
LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks