如何获取每个上传文件的数组

时间:2014-10-15 10:03:05

标签: arrays

我的数组有问题,如何获取每个file_name的数组作为记录数据库插入,谢谢

这是数组

Array
(
    [file_name] => Chrysanthemum14.jpg
    [file_type] => image/jpeg
    [file_path] => F:/xampp/htdocs/pariwisata/panorama/image/
    [full_path] => F:/xampp/htdocs/pariwisata/panorama/image/Chrysanthemum14.jpg
    [raw_name] => Chrysanthemum14
    [orig_name] => Chrysanthemum.jpg
    [client_name] => Chrysanthemum.jpg
    [file_ext] => .jpg
    [file_size] => 858.78
    [is_image] => 1
    [image_width] => 1024
    [image_height] => 768
    [image_type] => jpeg
    [image_size_str] => width="1024" height="768"
)
Array
(
    [file_name] => Desert10.jpg
    [file_type] => image/jpeg
    [file_path] => F:/xampp/htdocs/pariwisata/panorama/image/
    [full_path] => F:/xampp/htdocs/pariwisata/panorama/image/Desert10.jpg
    [raw_name] => Desert10
    [orig_name] => Desert.jpg
    [client_name] => Desert.jpg
    [file_ext] => .jpg
    [file_size] => 826.11
    [is_image] => 1
    [image_width] => 1024
    [image_height] => 768
    [image_type] => jpeg
    [image_size_str] => width="1024" height="768"
)
Array
(
    [file_name] => Hydrangeas10.jpg
    [file_type] => image/jpeg
    [file_path] => F:/xampp/htdocs/pariwisata/panorama/image/
    [full_path] => F:/xampp/htdocs/pariwisata/panorama/image/Hydrangeas10.jpg
    [raw_name] => Hydrangeas10
    [orig_name] => Hydrangeas.jpg
    [client_name] => Hydrangeas.jpg
    [file_ext] => .jpg
    [file_size] => 581.33
    [is_image] => 1
    [image_width] => 1024
    [image_height] => 768
    [image_type] => jpeg
    [image_size_str] => width="1024" height="768"
)
Array
(
    [file_name] => Jellyfish10.jpg
    [file_type] => image/jpeg
    [file_path] => F:/xampp/htdocs/pariwisata/panorama/image/
    [full_path] => F:/xampp/htdocs/pariwisata/panorama/image/Jellyfish10.jpg
    [raw_name] => Jellyfish10
    [orig_name] => Jellyfish.jpg
    [client_name] => Jellyfish.jpg
    [file_ext] => .jpg
    [file_size] => 757.52
    [is_image] => 1
    [image_width] => 1024
    [image_height] => 768
    [image_type] => jpeg
    [image_size_str] => width="1024" height="768"
)
Array
(
    [file_name] => Koala10.jpg
    [file_type] => image/jpeg
    [file_path] => F:/xampp/htdocs/pariwisata/panorama/image/
    [full_path] => F:/xampp/htdocs/pariwisata/panorama/image/Koala10.jpg
    [raw_name] => Koala10
    [orig_name] => Koala.jpg
    [client_name] => Koala.jpg
    [file_ext] => .jpg
    [file_size] => 762.53
    [is_image] => 1
    [image_width] => 1024
    [image_height] => 768
    [image_type] => jpeg
    [image_size_str] => width="1024" height="768"
)
Array
(
    [file_name] => Lighthouse10.jpg
    [file_type] => image/jpeg
    [file_path] => F:/xampp/htdocs/pariwisata/panorama/image/
    [full_path] => F:/xampp/htdocs/pariwisata/panorama/image/Lighthouse10.jpg
    [raw_name] => Lighthouse10
    [orig_name] => Lighthouse.jpg
    [client_name] => Lighthouse.jpg
    [file_ext] => .jpg
    [file_size] => 548.12
    [is_image] => 1
    [image_width] => 1024
    [image_height] => 768
    [image_type] => jpeg
    [image_size_str] => width="1024" height="768"
)

0 个答案:

没有答案