i can recommend using JavaScript to check the file, but not very good at JavaScript / jqurey code...
http://stackoverflow.com/questions/7497404/get-file-size-before-uploading
http://stackoverflow.com/questions/7497404/get-file-size-before-uploading