Gunnerproject: Fileupload

$upload = new FileUpload([ 'chunk_size' => 2 * 1024 * 1024, // 2 MB per chunk 'resumable' => true, 'parallel_chunks' => 3 // Max concurrent chunks ]); On the client side, use the included JavaScript library:

:

if ($_SERVER['REQUEST_METHOD'] === 'POST') $result = $upload->process($_FILES['userfile']); gunnerproject fileupload