Multiple local files processing

See all posts See thread Reply

Re: Multiple local files processing new!
by imgrby, 13 years, 9 months ago
it's NOT multiple upload! it's local files processing.
when you UPLOADS multiple images - field type is "file", when it's local files - field type is "text" and first code part of FAQ example cannot work with &_FILES['my_field']Reply
Re: Multiple local files processing new!
by colin, 13 years, 9 months ago
Sorry, I misread your post.

In order to process multiple local files, you need to do a loop around the class instantiation:
foreach ($files as $file) {
  $handle = new upload($file);
  .....
}
Reply