Re: weird upload problem

From: Date: Wed, 12 Jan 2005 07:33:34 +0000
Subject: Re: weird upload problem
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-206141@lists.php.net to get a copy of this message
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 > ) > > ) > > )

« previous php.general (#206141) next »