Code Context
# download file
$download_file = file_get_contents($file);
$slug = '3963'
$albumId = [
(int) 0 => [
'id' => (int) 1342,
'name' => '3963',
'slug' => '3963',
'rate' => '',
'weight' => '',
'size' => '',
'high_resolution' => 'https://www.dropbox.com/sh/ogexkqea3ud3nhk/AADCuUx196QU6RWCKdM-S2pMa?dl=0',
'white_background' => 'https://www.dropbox.com/sh/1skw9pp726dim6z/AADxa-Bpx455frGIwehql0PWa?dl=0',
'page_desc' => '',
'seo_title' => '3963',
'seo_desc' => '3963',
'seo_keyword' => '3963',
'created' => null,
'status' => (int) 1
]
]
$images = [
(int) 0 => [
'Image' => 'PRL5882.jpg'
],
(int) 1 => [
'Image' => 'PRL5883.jpg'
],
(int) 2 => [
'Image' => 'PRL5884.jpg'
],
(int) 3 => [
'Image' => 'PRL5885.jpg'
],
(int) 4 => [
'Image' => 'PRL5886.jpg'
],
(int) 5 => [
'Image' => 'PRL5887.jpg'
],
(int) 6 => [
'Image' => 'PRL5888.jpg'
],
(int) 7 => [
'Image' => 'PRL5889.jpg'
],
(int) 8 => [
'Image' => 'PRL5890.jpg'
],
(int) 9 => [
'Image' => 'PRL5891.jpg'
],
(int) 10 => [
'Image' => '148732207592.jpg'
],
(int) 11 => [
'Image' => '148732208193.jpg'
],
(int) 12 => [
'Image' => '148732208694.jpg'
]
]
$files = [
(int) 0 => 'http://images.ethnicsources.in/PRL5882.jpg',
(int) 1 => 'http://images.ethnicsources.in/PRL5883.jpg',
(int) 2 => 'http://images.ethnicsources.in/PRL5884.jpg',
(int) 3 => 'http://images.ethnicsources.in/PRL5885.jpg',
(int) 4 => 'http://images.ethnicsources.in/PRL5886.jpg',
(int) 5 => 'http://images.ethnicsources.in/PRL5887.jpg',
(int) 6 => 'http://images.ethnicsources.in/PRL5888.jpg',
(int) 7 => 'http://images.ethnicsources.in/PRL5889.jpg',
(int) 8 => 'http://images.ethnicsources.in/PRL5890.jpg',
(int) 9 => 'http://images.ethnicsources.in/PRL5891.jpg',
(int) 10 => 'http://images.ethnicsources.in/148732207592.jpg',
(int) 11 => 'http://images.ethnicsources.in/148732208193.jpg',
(int) 12 => 'http://images.ethnicsources.in/148732208694.jpg'
]
$key = [
'Image' => '148732208694.jpg'
]
$zip = object(ZipArchive) {
status => (int) 0
statusSys => (int) 0
numFiles => (int) 12
filename => '/tmp/ErBHwd'
comment => ''
}
$tmp_file = '/tmp/ErBHwd'
$file = 'http://images.ethnicsources.in/148732208694.jpg'
$download_file = '��� JFIF ` ` �� C !)E-)&&)T<@2EdXigbX`_n|��nu�w_`���������k��������� C)$)Q--Q�r`r���������������������������������������������������� @�"