vbpupil/file-uploader

Simple file upload that will elegantly move a file and return a progress response upon completion.

2.1 2019-01-22 16:09 UTC

This package is not auto-updated.

Last update: 2024-11-10 06:01:54 UTC


README

Simple File Uploader helper class.

Example of how to use

if (isset($_FILES)) {
    try {
        $f = FileUpload::upload(
            $_FILES,
            'path/wher/to/save/file', 
            array('jpeg')
        );
    } catch (Exception $e) {
        //manage exception
    }