Posts: 6
Threads: 4
Joined: Aug 2009
Reputation:
0
Hi,
i've form with upload file.
In the setting/file it's possible change Max File Size...
but how alert user if upload a file too heavy?
sorry for my bad eng
Posts: 2,456
Threads: 39
Joined: Dec 2008
Reputation:
6
Excellent question. And I actually don't have a very good answer for you.
I think you'll need to use an API form and examine the file size directly in your code before continuing to the next page.
Not ideal, I know. I'll have to give this one some more thought.
- Ben
Posts: 8
Threads: 1
Joined: Aug 2009
Reputation:
0
Yeah this one would be greatly appreciated. Ben what if we changed the PHP.ini file limitations would this help form tools or no?
Posts: 2,456
Threads: 39
Joined: Dec 2008
Reputation:
6
Yes, that would certainly improve things - the larger the file that is permitted, the less likelihood of failed uploads.
- Ben