I am getting file contents from the file_get_contents() function in php and I want to store that file in a particular folder. How would I do that?
$image = file_get_contents('http://www.affiliatewindow.com/logos/1961/logo.gif');
I want to save this image in particular folder.
any idea about it?
Use file_put_contents()