now use html5 form validation and the javascript file api to test the size of uploaded files
before upload.... this is because of the behavior change of the $_FILES array somewhere in php 5.3