0
file_get_contents 대신 사용할 수 있습니까? 나는 컬을 사용하여 시도하지만, 아주이 달성되는 것을 수행하는 방법을 알아낼 수file_get_contents 대신 사용할 수 있습니까?
if (!$img = file_get_contents($imgurl)) { $error[] = "Couldn't find the file named $card.$format at $defaultauto"; }
else {
if (!file_put_contents($filename,$img)) { $error[] = "Failed to upload $filename"; }
else { $success[] = "All missing cards have been uploaded"; }
}
: 이것은 내가 문제가 있습니다 코드입니다. 어떤 도움을 주셔서 감사합니다!
curl_get_contents() 함수에 대해서는 [이 답변] (http://stackoverflow.com/a/20562385/1438393)을 참조하십시오. –