Reply to Problem with multiple upload files

Problem with multiple upload files new!
by Geizon, 17 years, 8 months ago
Hello, I have the form code

when I go to send all archives results the following error
Warning: Invalid argument supplied will be foreach () in D:\Sites\administra _portal \ Galeria_Upload_Server.php on line 22

and if I leave one of the fields blank functions normal, as I arrange to send all? Code of line 222
$files = Array (); 
foreach ($_FILES [ââ?¬Å?my_fieldââ?¬Â] $k => $l)  { 
  foreach ($l $i => $v)  { 
    if (! array_key_exists ($i, $files)) 
      $files [$i] = Array (); 
      $files [$i] [$k] = $v; 
    }
  }
} 
Reply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important