problem with "count" function ...
| From: | Kenn Murrah | Date: | Tue, 06 May 2003 19:11:52 +0000 |
| Subject: | problem with "count" function ... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-146548@lists.php.net to get a copy of this message | ||
Greetings.
I'm sure I'm overlooking something simple, but I just can't see it ...
I'm trying to upload multiple files via PHP, having built a forms page with 10
<input type=file name='userFile'>
statements ... and I'm trying to determine how many times to process my upload handling loop with
for ($i=0; $i<count($_FILES['userFile']); $i++)
but no matter how many files I try to upload, I get a count of 4 ... what am I doing wrong?
thanks in advance for the help.