Я пытался расширить oscommerce с 6 дополнительных изображений до 12 изображений для каждого продукта в категориях .php
Но при отправке он показывает только 9 файлов в массиве $ _FILES
независимо от того, что я изменяю, я не могу получить больше 9. Я пробовал разные варианты только для тестирования, и массив всегда останавливается на 9 элементах, а 10-й обрезается.
У кого-нибудь есть идеи, что может происходить?
это размер $ _FILES и вывод массива. Вы можете видеть, что он останавливается на test2, а остальное отсутствует
sizeof files:20
Array ( [products_image] => Array ( [name] => [type] => [tmp_name] => [error] => 4 [size] => 0 ) [products_image_med] => Array ( [name] => [type] => [tmp_name] => [error] => 4 [size] => 0 ) [products_image_lrg] => Array ( [name] => [type] => [tmp_name] => [error] => 4 [size] => 0 ) [products_image_sm_1] => Array ( [name] => [type] => [tmp_name] => [error] => 4 [size] => 0 ) [products_image_xl_1] => Array ( [name] => [type] => [tmp_name] => [error] => 4 [size] => 0 ) [products_image_sm_2] => Array ( [name] => [type] => [tmp_name] => [error] => 4 [size] => 0 ) [products_image_xl_2] => Array ( [name] => [type] => [tmp_name] => [error] => 4 [size] => 0 ) [products_image_sm_3] => Array ( [name] => [type] => [tmp_name] => [error] => 4 [size] => 0 ) [products_image_xl_3] => Array ( [name] => [type] => [tmp_name] => [error] => 4 [size] => 0 ) [products_image_sm_4] => Array ( [name] => [type] => [tmp_name] => [error] => 4 [size] => 0 ) [products_image_xl_4] => Array ( [name] => [type] => [tmp_name] => [error] => 4 [size] => 0 ) [products_image_sm_5] => Array ( [name] => [type] => [tmp_name] => [error] => 4 [size] => 0 ) [products_image_xl_5] => Array ( [name] => [type] => [tmp_name] => [error] => 4 [size] => 0 ) [products_image_sm_6] => Array ( [name] => [type] => [tmp_name] => [error] => 4 [size] => 0 ) [products_image_xl_6] => Array ( [name] => [type] => [tmp_name] => [error] => 4 [size] => 0 ) [products_image_sm_7] => Array ( [name] => [type] => [tmp_name] => [error] => 4 [size] => 0 ) [products_image_xl_7] => Array ( [name] => [type] => [tmp_name] => [error] => 4 [size] => 0 ) [products_image_sm_8] => Array ( [name] => [type] => [tmp_name] => [error] => 4 [size] => 0 ) [products_image_xl_8] => Array ( [name] => [type] => [tmp_name] => [error] => 4 [size] => 0 ) [test2] => Array ( [name] => letters_613.gif [type] => image/gif [tmp_name] => /var/www/html/web978/phptmp/php49lS7C [error] => 0 [size] => 3852 ) ) Array ( [products_image] => Array ( [name] => [type] => [tmp_name] => [error] => 4 [size] => 0 ) [products_image_med] => Array ( [name] => [type] => [tmp_name] => [error] => 4 [size] => 0 ) [products_image_lrg] => Array ( [name] => [type] => [tmp_name] => [error] => 4 [size] => 0 ) [products_image_sm_1] => Array ( [name] => [type] => [tmp_name] => [error] => 4 [size] => 0 ) [products_image_xl_1] => Array ( [name] => [type] => [tmp_name] => [error] => 4 [size] => 0 ) [products_image_sm_2] => Array ( [name] => [type] => [tmp_name] => [error] => 4 [size] => 0 ) [products_image_xl_2] => Array ( [name] => [type] => [tmp_name] => [error] => 4 [size] => 0 ) [products_image_sm_3] => Array ( [name] => [type] => [tmp_name] => [error] => 4 [size] => 0 ) [products_image_xl_3] => Array ( [name] => [type] => [tmp_name] => [error] => 4 [size] => 0 ) [products_image_sm_4] => Array ( [name] => [type] => [tmp_name] => [error] => 4 [size] => 0 ) [products_image_xl_4] => Array ( [name] => [type] => [tmp_name] => [error] => 4 [size] => 0 ) [products_image_sm_5] => Array ( [name] => [type] => [tmp_name] => [error] => 4 [size] => 0 ) [products_image_xl_5] => Array ( [name] => [type] => [tmp_name] => [error] => 4 [size] => 0 ) [products_image_sm_6] => Array ( [name] => [type] => [tmp_name] => [error] => 4 [size] => 0 ) [products_image_xl_6] => Array ( [name] => [type] => [tmp_name] => [error] => 4 [size] => 0 ) [products_image_sm_7] => Array ( [name] => [type] => [tmp_name] => [error] => 4 [size] => 0 ) [products_image_xl_7] => Array ( [name] => [type] => [tmp_name] => [error] => 4 [size] => 0 ) [products_image_sm_8] => Array ( [name] => [type] => [tmp_name] => [error] => 4 [size] => 0 ) [products_image_xl_8] => Array ( [name] => [type] => [tmp_name] => [error] => 4 [size] => 0 ) [test2] => Array ( [name] => letters_613.gif [type] => image/gif [tmp_name] => /var/www/html/web978/phptmp/php49lS7C [error] => 0 [size] => 3852 ) )