You are here: Re: [PHP] weird upload problem « PHP « IT news, forums, messages
Re: [PHP] weird upload problem

Posted by Santa on 10/01/14 11:05

So, in $_FILES all right.

may be use foreach instead for?
case count() show count of fulled cell of array, and in your case it show 3.
but 3 is not end of your array.



В сообщении от Среда 12 Январь 2005 07:16 Sebastian написал(a):
> Jason Wong wrote:
> > How did you ascertain this? What does print_r($_FILES) show? Unless
> > you're using a broken browser it *should* work.
>
> i tried both IE6 and Firebox 1.0, both do the same.
> does appear its being passed.. doesn't it? array:
> Array
> (
> [image] => Array
> (
> [name] => Array
> (
> [0] => image1.jpg
> [1] =>
> [2] => image2.jpg
> [3] =>
> [4] =>
> [5] => image3.jpg
> )
>
> [type] => Array
> (
> [0] => image/pjpeg
> [1] =>
> [2] => image/pjpeg
> [3] =>
> [4] =>
> [5] => image/pjpeg
> )
>
> [tmp_name] => Array
> (
> [0] => /tmp/php6ubg5D
> [1] =>
> [2] => /tmp/phpYjSRr2
> [3] =>
> [4] =>
> [5] => /tmp/phpuqTWXO
> )
>
> [error] => Array
> (
> [0] => 0
> [1] => 4
> [2] => 0
> [3] => 4
> [4] => 4
> [5] => 0
> )
>
> [size] => Array
> (
> [0] => 83330
> [1] => 0
> [2] => 83330
> [3] => 0
> [4] => 0
> [5] => 83330
> )
>
> )
>
> )

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация