我正在从php中的file_get_contents()函数获取文件内容,并希望将该文件存储在特定的文件夹中。我该怎么做呢?
file_get_contents()
$image = file_get_contents('http://www.affiliatewindow.com/logos/1961/logo.gif');
我想将此图像保存在特定的文件夹中。
对此有什么想法吗?
https://stackoverflow.com/questions/2729143
相似问题