我意识到我可以很容易地用CURL做到这一点,但我想知道是否可以使用file_get_contents()http流上下文将文件上传到远程Web服务器,如果是的话,怎么样?
file_get_contents()
php file-upload file-get-contents
file-get-contents ×1
file-upload ×1
php ×1