Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1070903
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T20:38:05+00:00 2026-05-16T20:38:05+00:00

I have a form where users can enter multiple images to upload along with

  • 0

I have a form where users can enter multiple images to upload along with a bunch of other information. It looks like there is some condition that is causing the last few images not to upload, for some cases. For example, testing the form when uploading about 5 images, they all upload fine. When there are more, somewhere between 10 and 20-some, and this number does vary, then the last few may not upload. I’ve printed out the $_FILES array, and the selected images don’t appear at all. So it looks like they aren’t even being sent.

These images are quite small, only about 10-40k. My upload_max_filesize is 2M, and post_max_size is 8M, so that can’t be it. Not only that, but these same images still fail to upload when the previous ones in the form are not uploaded – if you leave the first 20 file inputs blank, and select something for the 21st, that image still doesn’t upload. And this has been tested with multiple images, so there isn’t something wrong with the image file. Note – there aren’t exactly 21 file inputs – it’s variable, the user can add more or delete some.

I’ve also tested multiple browsers, and multiple computers. The only thing is that this problem happens only on my production server and has never occurred on my development server, so that could be a clue. It’s also always the inputs at the end of the form, sometimes the last one, sometimes several, depending upon the form inputs being tested.

Is there any inherent limit to the number of file inputs you can have in a single form? I haven’t pinpointed an exact number that causes the issue.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T20:38:07+00:00Added an answer on May 16, 2026 at 8:38 pm

    http://www.php.net/manual/en/ini.core.php

    max_file_uploads 20 PHP_INI_SYSTEM
    Available since PHP 5.2.12.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a form a user can enter their name, then it will add
We have got a setup where users can either use a web-based form or
I have a form with a textarea. Users enter a block of text which
I want to build a form where users can enter some data in a
On a website if I have a form where the user can input some
I have a form in which the user can choose a component type from
I have a view user control that can post form. This control can be
I have a form in HTML where our users fill in the data and
We have a simple registration form for our website users where we only require
I have a simple HTML Form that allows the user to enter some text

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.