Is there a AJAX based solution or PHP based solution to check the filesize a user is trying to upload via a form.
If the filesize exceeds more than 2 MB we want to give a message to the user that they need to upload a smaller file size.
There are tons of Active X/Php solutions.
We want to avoid Active X
And when using PHP it refreshes the page, is there anyway we can check filesize on the fly without having to refresh the page.