This class allows you to securely upload files.
It checks the files against a specified list of requirements and carries out the upload process.
It can validate uploaded files against a list of allowed file types, and a minimum or maximum size.
It can use PHP image functions to verify that images are valid or remove exif data.
The class can also upload files as ZIP files or resize image files.
It has support for uploading files via Web forms or via sending AJAX requests by reading the PHP script input stream.