0

SUBJECT: there is a link from external server like somesite.com/audio.mp3 question: how to cache that audio to my server and then let user to use it (listen or dl)? i tried to google about PHP cache, but could't find anything

4

1 回答 1

0

这并不是真正的缓存,它只是将文件从远程服务器复制到本地服务器。您可以使用 PHP的复制功能。

copy('http://somesite.com/audio.mp3', '/local/dir/audio.mp3');
于 2013-05-05T15:08:58.273 回答