Is there any way to stop a file upload before it gets copied to the server's /tmp location. If the file size is greater than the max_upload_size defined in the PHP.ini file? I am trying to avoid the ugly 5 line error message that PHP spits out if the file size is greater than the one in the ini file.