I’ve seen this one many many times, and it’s very frustrating for users. All they want is their 5MB video file uploaded, but their server settings are limiting them to a limit of 2MB for file uploads. So what can be done?
There’s been a few times where I’ve needed to display the maximum size of a file that can be uploaded, but there never seemed to be an easy way to do it. Well, there’s still not, but at least this will give you the right value.