PHP code example of siam401 / fileupload
1. Go to this page and download the library: Download siam401/fileupload 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/ */
siam401 / fileupload example snippets
use Siam401\FileUpload\FileUpload;
return FileUpload::upload('file'); // single or multiple file upload
return FileUpload::getUrl('file-path');
return FileUpload::render('file-path');
return FileUpload::remove('file-path');
return FileUpload::removeDirectory('file-path');
return FileUpload::storagePath('file-path');
return FileUpload::exists('file-path');
return FileUpload::getUploadTime('file-path');