file_get_contents()가 URL에서 이미지를 가져 와서 zip 파일로 출력하도록하려면 어떻게해야합니까? 예컨대url의 이미지가있는 file_get_contents()를 우편 번호로 저장하십시오.
http://example.com/image1.jpg
http://example.com/image1.jpg
http://example.com/image1.jpg
때 지금은 .ZIP에이 문자열을 변환 할 수있는 방법, 문자열에 저장할 수 있습니다 file_get_contents로 검색 할 수 있습니다.
여기서 인코딩 된 json에서 이미지 URL을 추출해야합니다. 당신이 시도
copy('http://example.com/image1.jpg', '_tmp/image1.jpg')
copy('http://example.com/image2.jpg', '_tmp/image2.jpg')
...
zip(_tmp);
delete(_tmp);
[당신은 시도 무엇?] (http://whathaveyoutried.com) –