Posted by "-k." on 10/08/13 11:33
If you named the fields like this:
<input type="file" name="files[file_name_one]" />
<input type="file" name="files[file_name_two]" />
<input type="file" name="files[file_name_three]" />
Then did something like (or whatever):
<?PHP
foreach ($_FILES["files"]["error"] as $key => $error) {
echo $key."<BR>";
echo $_FILES["files"]["tmp_name"][$key]."<BR>";
echo $_FILES["files"]["name"][$key]."<BR>";
}
?>
Would that do what you need to get done?
-k.
__________________________________
Start your day with Yahoo! - Make it your home page!
http://www.yahoo.com/r/hs
[Back to original message]
|