Secure File Upload Basic PHP class to validate the file before uploading.The class verifies the MIME type of the file and also its size before uploading. All of the file specifications can be customized.