I would like to limit user uploading the file to certain file size (i.e 2mb). Is there any easy way to do it ?
ARTHUR
I would like to limit user uploading the file to certain file size (i.e 2mb). Is there any easy way to do it ?
ARTHUR
You need to do that in php.ini. See http://stackoverflow.com/questions/2184513/php-change-the-maximum-upload-file-size
Thanks Albert but,…this won’t be an option. I host lots of other stuff on this same server. I believe the php.ini is shared among other apps, websites etc, so if I change it it will be global change and will affect other stuff. I need this limitation applied only to one particular project. If there any JS libaray/function()method) that will take care of that ? Any other ideas ?
ARTHUR
I will give it a try, thank you
ARTHUR