RE: [PHP] weird upload problem

2005-01-12 Thread Ford, Mike
To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm -Original Message- From: Sebastian [mailto:[EMAIL PROTECTED] Sent: 12 January 2005 01:59 form action=/ enctype=multipart/form-data method=post 1: input type=file

Re: [PHP] weird upload problem

2005-01-11 Thread Sebastian
well i found the problem to #1. i forgot an = on the for() loop.. so it uploads all 6 instead of 5. still looking for a solution on #2 - Original Message - From: Sebastian [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Tuesday, January 11, 2005 8:59 PM Subject: [PHP] weird upload

Re: [PHP] weird upload problem

2005-01-11 Thread Jason Wong
On Wednesday 12 January 2005 09:59, Sebastian wrote: 2) if i attach an image to field 1, 3, 5 and skip the other fields only 1 file gets uploaded.. How did you ascertain this? What does print_r($_FILES) show? Unless you're using a broken browser it *should* work. -- Jason Wong - Gremlins

Re: [PHP] weird upload problem

2005-01-11 Thread Sebastian
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]

Re: [PHP] weird upload problem

2005-01-11 Thread Santa
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

Re: [PHP] weird upload problem

2005-01-11 Thread Jason Wong
On Wednesday 12 January 2005 12:16, Sebastian wrote: 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