Hi,,
for some reason my image upload code only works on IE,, I have a form from where the users can upload up to 5 images if they want, on the form page I have 5 identical inputs so the user can attach the images:
They are all like this: <input type=”file” name=”images[]” size=”45″>
then the form calls a page that uploads the images::
for ($i=0;$i<count($images);$i++) {
.
.
.
copy($images[$i],$path);
}
this code only works on IE and not on FireFox, on FireFox it only uploads the first image and not the others that the user might have attached. Does someone knows why, and maybe have a suggestion of a solution on how I could make this work on FireFox as well? Thanks