Code Context
# download file
$download_file = file_get_contents($file);
$slug = '8449'
$albumId = [
(int) 0 => [
'id' => (int) 5854,
'name' => '8449',
'slug' => '8449',
'rate' => '17905',
'weight' => '5',
'size' => '',
'high_resolution' => 'https://www.dropbox.com/sh/0kwsxtt4lnc7poi/AABHri55WIFz20wUvltPtdTra?dl=0',
'white_background' => '#',
'page_desc' => 'Necklace',
'seo_title' => 'Necklace',
'seo_desc' => 'Necklace',
'seo_keyword' => 'Necklace',
'created' => object(Cake\I18n\Time) {},
'status' => (int) 1
]
]
$images = [
(int) 0 => [
'Image' => 'ACS4039.jpg'
],
(int) 1 => [
'Image' => 'ACS4040.jpg'
],
(int) 2 => [
'Image' => 'ACS4041.jpg'
],
(int) 3 => [
'Image' => 'ACS4042.jpg'
],
(int) 4 => [
'Image' => 'ACS4043.jpg'
],
(int) 5 => [
'Image' => 'ACS4044.jpg'
],
(int) 6 => [
'Image' => 'ACS4045.jpg'
],
(int) 7 => [
'Image' => 'ACS4046.jpg'
],
(int) 8 => [
'Image' => 'ACS4047.jpg'
],
(int) 9 => [
'Image' => 'ACS4048.jpg'
],
(int) 10 => [
'Image' => 'ACS4049.jpg'
],
(int) 11 => [
'Image' => 'ACS4050.jpg'
],
(int) 12 => [
'Image' => 'ACS4051.jpg'
],
(int) 13 => [
'Image' => 'ACS4052.jpg'
],
(int) 14 => [
'Image' => 'ACS4053.jpg'
],
(int) 15 => [
'Image' => 'ACS4054.jpg'
],
(int) 16 => [
'Image' => 'ACS4055.jpg'
],
(int) 17 => [
'Image' => 'ACS4056.jpg'
],
(int) 18 => [
'Image' => 'ACS4057.jpg'
],
(int) 19 => [
'Image' => 'ACS4058.jpg'
],
(int) 20 => [
'Image' => 'ACS4059.jpg'
],
(int) 21 => [
'Image' => 'ACS4060.jpg'
],
(int) 22 => [
'Image' => 'ACS4061.jpg'
],
(int) 23 => [
'Image' => 'ACS4062.jpg'
],
(int) 24 => [
'Image' => 'ACS4063.jpg'
]
]
$files = [
(int) 0 => 'http://images.ethnicsources.in/ACS4039.jpg',
(int) 1 => 'http://images.ethnicsources.in/ACS4040.jpg',
(int) 2 => 'http://images.ethnicsources.in/ACS4041.jpg',
(int) 3 => 'http://images.ethnicsources.in/ACS4042.jpg',
(int) 4 => 'http://images.ethnicsources.in/ACS4043.jpg',
(int) 5 => 'http://images.ethnicsources.in/ACS4044.jpg',
(int) 6 => 'http://images.ethnicsources.in/ACS4045.jpg',
(int) 7 => 'http://images.ethnicsources.in/ACS4046.jpg',
(int) 8 => 'http://images.ethnicsources.in/ACS4047.jpg',
(int) 9 => 'http://images.ethnicsources.in/ACS4048.jpg',
(int) 10 => 'http://images.ethnicsources.in/ACS4049.jpg',
(int) 11 => 'http://images.ethnicsources.in/ACS4050.jpg',
(int) 12 => 'http://images.ethnicsources.in/ACS4051.jpg',
(int) 13 => 'http://images.ethnicsources.in/ACS4052.jpg',
(int) 14 => 'http://images.ethnicsources.in/ACS4053.jpg',
(int) 15 => 'http://images.ethnicsources.in/ACS4054.jpg',
(int) 16 => 'http://images.ethnicsources.in/ACS4055.jpg',
(int) 17 => 'http://images.ethnicsources.in/ACS4056.jpg',
(int) 18 => 'http://images.ethnicsources.in/ACS4057.jpg',
(int) 19 => 'http://images.ethnicsources.in/ACS4058.jpg',
(int) 20 => 'http://images.ethnicsources.in/ACS4059.jpg',
(int) 21 => 'http://images.ethnicsources.in/ACS4060.jpg',
(int) 22 => 'http://images.ethnicsources.in/ACS4061.jpg',
(int) 23 => 'http://images.ethnicsources.in/ACS4062.jpg',
(int) 24 => 'http://images.ethnicsources.in/ACS4063.jpg'
]
$key = [
'Image' => 'ACS4063.jpg'
]
$zip = object(ZipArchive) {
status => (int) 0
statusSys => (int) 0
numFiles => (int) 20
filename => '/tmp/7Ifq04'
comment => ''
}
$tmp_file = '/tmp/7Ifq04'
$file = 'http://images.ethnicsources.in/ACS4059.jpg'
$download_file = '���LExif II*
E x � � � ( 1 � 2 � ; � i� < ��
'