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 6193377
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T03:06:31+00:00 2026-05-24T03:06:31+00:00

Why is the MAX_FILE_SIZE for an HTML <input type=file> always in uppercase? All examples

  • 0

Why is the MAX_FILE_SIZE for an HTML <input type="file"> always in uppercase?

All examples I’ve seen do this. Why?

Is this something historical / are there lots of examples on the web which doesn’t use uppercase which I just didn’t see?

  • 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-24T03:06:33+00:00Added an answer on May 24, 2026 at 3:06 am

    This is not an HTML feature, but a PHP feature.

    The documentation explains how PHP looks for a field named MAX_FILE_SIZE in form data, and uses its value for handling file uploads if applicable.

    It’s a matter of historical convention that constants are capitalised and, traditionally, a field like MAX_FILE_SIZE would be a constant in an application. Matters are complicated slightly because, as far as PHP is concerned, it’s actually a variable (named $_POST['MAX_FILE_SIZE']) and isn’t constant at all; still, if you take the web application as a whole, you could see how this convention might still apply.

    It also sets the field name apart from any other fields that the user has in his/her form.

    Note that, since access to arrays by string key is case-sensitive, it makes sense to assume that PHP’s search for this form field is also case-sensitive. So, if you were considering otherwise, stick with the capitalisation.

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

Sidebar

Related Questions

I have the following html code to upload an image: <input type=file name=before size=40>
In my html file, when I write this, it is displayed correct. <div class=event
I've got the following HTML form. As you can see it's saving a file.
My PHP book gives a template HTML form for uploading a file: <form action=upload.php
I have been trying to load a html file in a webview in a
I have a html file which select images from user's computer.code is given bellow
This sounds like a stupid question but, after uploading a file the file isnt
I use this code for upload image: http://vikaskanani.wordpress.com/2011/01/11/android-upload-image-or-file-using-http-post-multi-part/ I replaced bm = BitmapFactory.decodeFile(/data/data/fshizzle.com/files/image.jpg); and
I'm fairly new to python, so I apologize in advance if this is something
I have a basic upload form <html> <head> <title>Upload a File</title> </head> <body> <font

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.