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

  • SEARCH
  • Home
  • 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 8166069
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T19:44:06+00:00 2026-06-06T19:44:06+00:00

<input name=’data[User][images][]’ id=’images’ type=’file’ multiple= /> I know that the above works and allows

  • 0
<input name='data[User][images][]' id='images' type='file' multiple="" />

I know that the above works and allows for multiple file upload in html5, but I want to start the data[User][images][] array from some offset other than zero. I already tried:

<input name='data[User][images][2]' id='images' type='file' multiple="" />

But that just makes it so only 1 file’s info is stored in offset 2 to be uploaded.

I know how to work my code so I don’t need to do this, but now I’m simply curious if there might be a way to keep multiple file upload while telling it to start from a non-zero offset.

  • 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-06-06T19:44:08+00:00Added an answer on June 6, 2026 at 7:44 pm

    This is actually not a feature of HTML but of the server-side language or framework. The only "support" offered by HTML is that element names may contain square brackets.

    It doesn’t look like CakePHP supports any special behavior for form-submitted arrays (though I’m not very familiar with it). Your best bet is probably the PHP manual page, which doesn’t mention anything about starting from an offset other than zero.

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

Sidebar

Related Questions

I have input with either some given or empty data-file: <input type=text value=path/to/file.gif name=some_file
I want a input from user their name and output that input name in
CodeIgniter allows access to POSTed data via: $this->input->post('input_name'); where 'input_name' is the name of
How can i get the input name Here is my code document.querySelector('input[type=file]').addEventListener('change', function(e) {
This is meant to allow user to input name, contact and address he/she wishes
I have this code: <form action= id=credentials method=post> <label for=name id=nameLabel >Name*:</label> <input type=text
This program has the user input name / age pairs and then outputs them,
Is there a cleaner way to write the same css given that input name
Let's say I have 2 tables, Contacts and Phones . User can input name
I have two text input fields: Name:<input id=name type=text value= name=username> Age:<input id=age type=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.