Here is an operational uploader class which uploads a specific file to a directory and restricts file types to those in a safe_file_array.
Platform: PHP and Windows