Code Context
# download file
$download_file = file_get_contents($file);
$slug = '8437'
$albumId = [
(int) 0 => [
'id' => (int) 5842,
'name' => '8437',
'slug' => '8437',
'rate' => '28990',
'weight' => '20',
'size' => 'M(38"), L(40"), XL(42"), XXL(44")',
'high_resolution' => 'https://www.dropbox.com/sh/hd6h2uunjagdyhz/AAATaKYCWLDqHq1dm0btlhpYa?dl=0',
'white_background' => '#',
'page_desc' => 'Kurta With Bottom',
'seo_title' => 'Kurta With Bottom',
'seo_desc' => 'Kurta With Bottom',
'seo_keyword' => 'Kurta With Bottom',
'created' => object(Cake\I18n\Time) {},
'status' => (int) 1
]
]
$images = [
(int) 0 => [
'Image' => 'ACS3900.jpg'
],
(int) 1 => [
'Image' => 'ACS3901.jpg'
],
(int) 2 => [
'Image' => 'ACS3902.jpg'
],
(int) 3 => [
'Image' => 'ACS3903.jpg'
],
(int) 4 => [
'Image' => 'ACS3904.jpg'
],
(int) 5 => [
'Image' => 'ACS3905.jpg'
],
(int) 6 => [
'Image' => 'ACS3906.jpg'
],
(int) 7 => [
'Image' => 'ACS3907.jpg'
],
(int) 8 => [
'Image' => 'ACS3908.jpg'
],
(int) 9 => [
'Image' => 'ACS3909.jpg'
],
(int) 10 => [
'Image' => 'ACS3910.jpg'
],
(int) 11 => [
'Image' => 'ACS3911.jpg'
],
(int) 12 => [
'Image' => 'ACS3912.jpg'
],
(int) 13 => [
'Image' => 'ACS3913.jpg'
],
(int) 14 => [
'Image' => 'ACS3914.jpg'
],
(int) 15 => [
'Image' => 'ACS3915.jpg'
],
(int) 16 => [
'Image' => 'ACS3916.jpg'
],
(int) 17 => [
'Image' => 'ACS3917.jpg'
],
(int) 18 => [
'Image' => 'ACS3918.jpg'
],
(int) 19 => [
'Image' => 'ACS3919.jpg'
],
(int) 20 => [
'Image' => 'ACS3920.jpg'
],
(int) 21 => [
'Image' => 'ACS3921.jpg'
],
(int) 22 => [
'Image' => 'ACS3922.jpg'
],
(int) 23 => [
'Image' => 'ACS3923.jpg'
],
(int) 24 => [
'Image' => 'ACS3924.jpg'
],
(int) 25 => [
'Image' => 'ACS3925.jpg'
]
]
$files = [
(int) 0 => 'http://images.ethnicsources.in/ACS3900.jpg',
(int) 1 => 'http://images.ethnicsources.in/ACS3901.jpg',
(int) 2 => 'http://images.ethnicsources.in/ACS3902.jpg',
(int) 3 => 'http://images.ethnicsources.in/ACS3903.jpg',
(int) 4 => 'http://images.ethnicsources.in/ACS3904.jpg',
(int) 5 => 'http://images.ethnicsources.in/ACS3905.jpg',
(int) 6 => 'http://images.ethnicsources.in/ACS3906.jpg',
(int) 7 => 'http://images.ethnicsources.in/ACS3907.jpg',
(int) 8 => 'http://images.ethnicsources.in/ACS3908.jpg',
(int) 9 => 'http://images.ethnicsources.in/ACS3909.jpg',
(int) 10 => 'http://images.ethnicsources.in/ACS3910.jpg',
(int) 11 => 'http://images.ethnicsources.in/ACS3911.jpg',
(int) 12 => 'http://images.ethnicsources.in/ACS3912.jpg',
(int) 13 => 'http://images.ethnicsources.in/ACS3913.jpg',
(int) 14 => 'http://images.ethnicsources.in/ACS3914.jpg',
(int) 15 => 'http://images.ethnicsources.in/ACS3915.jpg',
(int) 16 => 'http://images.ethnicsources.in/ACS3916.jpg',
(int) 17 => 'http://images.ethnicsources.in/ACS3917.jpg',
(int) 18 => 'http://images.ethnicsources.in/ACS3918.jpg',
(int) 19 => 'http://images.ethnicsources.in/ACS3919.jpg',
(int) 20 => 'http://images.ethnicsources.in/ACS3920.jpg',
(int) 21 => 'http://images.ethnicsources.in/ACS3921.jpg',
(int) 22 => 'http://images.ethnicsources.in/ACS3922.jpg',
(int) 23 => 'http://images.ethnicsources.in/ACS3923.jpg',
(int) 24 => 'http://images.ethnicsources.in/ACS3924.jpg',
(int) 25 => 'http://images.ethnicsources.in/ACS3925.jpg'
]
$key = [
'Image' => 'ACS3925.jpg'
]
$zip = object(ZipArchive) {
status => (int) 0
statusSys => (int) 0
numFiles => (int) 20
filename => '/tmp/w1k08e'
comment => ''
}
$tmp_file = '/tmp/w1k08e'
$file = 'http://images.ethnicsources.in/ACS3920.jpg'
$download_file = '��� JFIF H H �� C
$.' ",#(7),01444'9=82<.342�� C
2!!22222222222222222222222222222222222222222222222222�� �"