Multiple image upload problems in gallery

I used the script from article

I have ran into problem when uploading multiple images instead of
allowing user to select the number of images to upload , I hard coded
the number to 15 but the loop only uploads 6 images.

There are several things that could be wrong:

  1. Those 6 files combined fall within the post_max_size, so there is no room for all the other files
  2. The first 6 files are okay, but the other files exceed the max_upload_filesize
  3. max_file_uploads is set to 6

If it’s one of the first two you could try setting different values for those settings using [fphp]ini_set[/fphp] or in a .htaccess file (if you’re on Apache)

If it’s the third problem you need to edit php.ini , which is not something you’re allowed to do on most hosts.


Thanks for the hints , I will check them and see if anyone solves the problem