PHP code example of jkuchar / multiplefileupload
1. Go to this page and download the library: Download jkuchar/multiplefileupload library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
jkuchar / multiplefileupload example snippets
$f = new Form($this,$name);
$f->addMultipleFileUpload("exampleUploadField1","Upload field 1", /*max num. of files*/ 20)
->addRule('MultipleFileUpload\MultipleFileUpload::validateFilled',"You must upload at least one file")
->addRule('MultipleFileUpload\MultipleFileUpload::validateFileSize',"Files you've selected are too big.", 1024); //kB