file_get_contents
에이 URL을 사용할 수 있습니까? 아니면이게 내 문제 야?cdn URL에서 이미지를 저장하는 동안 file_get_contents가 false를 반환합니다.
URL of the image -> //cdn.abc.de/images/100/0/8/0/1/5/8/080158F1.jpg?output-format=progressive-jpeg&resize=384px:511px
$contents= file_get_contents($arr_data_product->image); //return false
감사합니다.
웹 사이트에서 URL을받습니다.
<img width="384" height="511" id="productImage" src="//cdn.abc.de/images/100/0/8/0/1/5/8/080158F1.jpg?output-format=progressive-jpeg&resize=384px:511px">
브라우저에서 개방되지 주어진 URL ... URL을 확인하시기 바랍니다 ?? –
웹 사이트에서 크롤링합니다. 이미지의 URL은 이미지 태그에서 가져온 것입니다. 내 질문을 편집합니다. – cgee