Yes i am aware that this is not something to relay on since it can easily be changed and hacked.
My question is does MAX_FILE_SIZE return a instant response or does it also have to wait to upload.
And if any one can provide a clear code on how to get it working.. much appreciated.
Thanks.
PHP is running on server. Therefore you must have the checking placed on browser (client side) using a client side scripting language such as javascript.